Monroe's presidency was coterminous with the Era of Good Feelings, as the Federalist Party collapsed as a national political force. As president, Monroe signed the Missouri Compromise, which admitted Missouri as a slave state and banned slavery from territories north of the parallel 36°30′ north. In foreign affairs, Monroe and Secretary of State John Quincy Adams favored a policy of conciliation with Britain and a policy of expansionism against the Spanish Empire.