During his presidency in the late 1790s, John Adams faced opposition from within his own Federalist party and signed the controversial Alien and Sedition Acts to avoid war with France and appease Alexander Hamilton. The Acts restricted speech and immigration in ways that contradicted the Bill of Rights. In response, Thomas Jefferson and James Madison authored the Kentucky and Virginia Resolutions arguing that states could refuse to uphold unconstitutional federal laws, a precedent that contributed to the Civil War. Adams also had to navigate tensions between Strict and Broad Constructionists over the scope of federal government power.