When was the Second Amendment Written?

The second amendment was adopted on December 15, 1791 along with the rest of the Bill of Rights. The second amendment is the right to bear arms.