第一次バーバリ戦争
Somers' service as commanding officer of "Nautilus" during operations against Tripoli won him promotion to master commandant on May 18, 1804. In the summer, he commanded a division of gunboats amidst five attacks on Tripoli, during the First Barbary War.