No it was Jefferson, but American ships were being attacked.
Tripoli is not the Middle East. That was the point.