When was the Fourth Amendment Passed?

The fourth amendment, written as a portion of the Bill of Rights, was passed in 1787. It occurred when the US adopted the Constitution.