Early political career
Virginia politics
Monroe was elected to the Virginia House of Delegates in 1782. After serving on Virginia's Executive Council,[22] he was elected to the Congress of the Confederation in November 1783 and served in Annapolis until Congress convened in Trenton, New Jersey in June 1784. He had served a total of three years when he finally retired from that office by the rule of rotation.[23] By that time, the government was meeting in the temporary capital of New York City. In 1784, Monroe undertook an extensive trip through Western New York and Pennsylvania to inspect the conditions in the Northwest. The tour convinced him that the United States had to pressure Britain to abandon its posts in the region and assert control of the Northwest.[24] While serving in Congress, Monroe became an advocate for western expansion, and played a key role in the writing and passage of the Northwest Ordinance. The ordinance created the Northwest Territory, providing for federal administration of the territories West of Pennsylvania and North of the Ohio River. During this period, Jefferson continued to serve as a mentor to Monroe, and, at Jefferson's prompting, he befriended another prominent Virginian, James Madison.