Built at Philadelphia in 1795, she was captured by Tripolitan corsairs in 1802, and sold to the commercial agent of the Bey of Tunis.
In June 1805 Franklin was ordered to Syracuse, Sicily, where she was placed in charge of Lieutenant Jacob Jones to accommodate officers seized from the frigate Philadelphia, and recently released from a Tripolitan prison.
From July to September she served as storeship for the Mediterranean Squadron and on the 24th departed for the United States with General William Eaton, U.S. Navy Agent to the Barbary Powers, embarked.
Following an overhaul at Washington Navy Yard she voyaged to New Orleans, Louisiana with crew and supplies for that station.
Again in December 1806 she carried a company of Marines and munitions for the New Orleans station.