Which of the following statements does not apply to James Madison?

He helped write the United States Constitution.

He was elected to Congress.

He was elected Vice-President of the United States.

He was appointed Secretary of State.

He was elected President of the United States.