<human>:  Who wrote the First Amendment?
<bot>: The First Amendment was written by James Madison. It is the first part of the Bill of Rights, which was added to the United States Constitution in 1791. The First Amendment protects freedom of religion, freedom of speech, freedom of the press, and the right to peaceably assemble.