When was the First Amendment Written?

The first amendment, which states what freedoms every individual has, was written along with the Bill of Rights in 1787. The Constitution was ratified and passed 1788.