Dolley Payne Todd and James Madison, who represented Virginia in the U.S. House of Representatives (the capital met in Philadelphia from 1790 to 1800), likely encountered each other at social events in the temporary federal capital.
In 1797, after eight years in the House of Representatives, James Madison retired from politics.