Lt. Commander Charles Daniels of the U.S. Navy Information Office said American ships battled pirates in the Gulf of Mexico before and after the Civil War , and chased pirates in the South Pacific in 1858 .