According to historian Susan Jacoby, when President Obama told a group of Muslims that “we do not consider ourselves a Christian nation.” he was alluding to the Treaty of Tripoli of 1797, which brought an end to the conflict with the Barbary coast pirates. Passed by the Senate without controversy and signed by President John Adams, the treaty makes this statement:
“As the government of the United States of America is not in any sense founded on the Christian religion–as it has in itself no character of enmity against the laws, religion or tranquility of Musselmen (Muslims)–and as the said states have never entered into any war or act of hostility against any Mahometan nation, it is declared by the parties, that no pretext arising from religions opinions shall over produce an interruption of the harmony existing between the two countries.”