In 1791 the Castle Doctrine was enshrined in the US Constitution when the Fourth Amendment was ratified with the rest of the Bill of Rights. The Fourth Amendment prohibits general warrants at the federal level (the prohibition would later be extended to the states through the Fourteenth Amendment)

