A U.S. warship sank a pirate skiff and captured a pirate mother ship in the Indian Ocean on Thursday, according to a statement from U.S. Naval Forces Africa.

The frigate USS Nicholas came under fire from a pirate vessel shortly after midnight in international waters west of the Seychelles, according to a U.S. military statement.

The Nicholas returned fire and pursued the skiff as it fled, capturing it about 90 minutes later. Three suspected pirates aboard the skiff were taken into custody, along with two others aboard a suspected pirate mother ship that was nearby.