To the shores of Tripoli. … After two years of minor confrontations, sustained action began in June 1803, when a small U.S. expeditionary force attacked Tripoli harbor in present-day Libya. In April 1805, a major American victory came during the Derna campaign, which was undertaken by U.S. land forces in North Africa.