Wilson was a delegate to the 1787 Philadelphia Convention, where he served on the Committee of Detail, which produced the first draft of the United States Constitution. He was the principal architect of the executive branch and an outspoken supporter of greater popular control of governance, a strong national government, and legislative representation proportional to population. Along with Roger Sherman, he proposed the Three-Fifths Compromise, which counted slaves as three-fifths of a person for the purposes of representation in the United States House of Representatives. While preferring the direct election of the president through a national popular vote, he proposed the use of an electoral college, which formed the basis of the Electoral College ultimately adopted by the Convention. After the convention, he campaigned for the ratification of the Constitution, with his "speech in the statehouse yard" reprinted in newspapers throughout the country, and opposed the Bill of Rights. Wilson also played a major role in drafting the 1790 Pennsylvania Constitution.