According to Wikipedia:
The surviving pirate, Abduwali Abdukhadir Muse, was held on the USS Bonhomme Richard and was eventually flown to the U.S. for trial. In a federal courtroom in New York City, prosecutors brought charges that included piracy, conspiracy to seize a ship by force, and conspiracy to commit hostage-taking. Muse's lawyers asked that he be tried as a juvenile, alleging he was either 15 or 16 years old at the time of the hostage taking, but the court ruled Muse was not a juvenile and would be tried as an adult. Muse later pled guilty to piracy charges and was handed a prison sentence of 33 years and nine months.