The Marines' most famous action of this period occurred during the First Barbary War (1801–1805) against the Barbary pirates, when William Eaton and First Lieutenant Presley O'Bannon led 8 Marines and 500 mercenaries in an effort to capture Tripoli. Though they only reached Derna, the action at Tripoli has been immortalized in the Marines' Hymn and the Mameluke sword carried by Marine officers.