Five Somali men were convicted of piracy Wednesday for the 2010 attack on the USS Ashland off the coast of Africa.

A sixth man who claimed to be the group’s leader had already pleaded guilty to lesser charges and testified that they thought they were attacking a merchant ship when one of his crew members fired an AK-47 at the Ashland.