India's military says it has captured 28 suspected Somali pirates on a ship in the Indian Ocean, after a brief clash.

A defense spokesman says navy and coast guard ships chased two small pirate boats to the main vessel, after the pirates tried to hijack a Greek-flagged merchant ship.

India: 28 Suspected Somali Pirates Captured

Captain M. Nambiar says the mothership, which was captured early Sunday, was a Thai fishing vessel that had been seized about six months ago.

India: 28 Suspected Somali Pirates Captured

Authorities say the pirates fired on the military ships, which returned fire. After a brief battle, officials say, the pirates hoisted a white flag and surrendered.

India: 28 Suspected Somali Pirates Captured

Military officials say they rescued 24 crew members who were still on board the seized .

The suspects have been taken to Mumbai for questioning.

Earlier this month, India charged 15 Africans with attempted murder and other crimes for allegedly trying to hijack another Thai fishing boat near the Lakshadweep Islands.