Two children among six people wounded in Somalia car bombing
The sailors were arrested last week by Somali coast guards. Nine of the 14 were present in court on Saturday.
"The court sentenced 14 Indian sailors and a Somali woman" who was the owner of the charcoal, judge Hashi Elmi Nur told AFP, adding that the sailors could avoid serving the prison term by paying $10,000 (7,500 euros).
In their defence, lawyer Hassan Abdule Farayare argued that because the charcoal had been exported from zones controlled by Islamic insurgents, the court was not competent to try the case.
"The boat and the crew members are not guilty because they exported charcoal from areas the government does not control," he said.
It was the first time that a court had tried foreign nationals for illegally exporting charcoal.
Charcoal is an important source of revenue for the country
An explosion took place in the area known as Tododa Geed opposite the Noor Doob Hotel, which is close to the presidential palace of HirShabelle state which is protected by AU forces.