Who served first as secretary of state, and later he was appointed as chief justice of the supreme court?

James Madison

Aaron Burr

John Marshall

Thomas Jefferson