Thomas Jefferson actually said...
I congratulate you on the liberation of our fellow citizens who were stranded on the coast of Tripoli and made prisoners of war.
Context
Fifth Annual Message
12/02/1805
Fifth Annual Message
12/02/1805