MADRID -- A Spanish court has sentenced two Somalis to 439 years in jail each for the 2009 hijacking of a Spanish fishing boat in the Indian Ocean and said government-linked bodies paid a ransom to secure the boat and crew's release.

The National Court also said Tuesday that those convicted were Cabdiweli Cabdullahi and Raageggesey Hassan Aji.

The Alakrana tuna boat with 36 crew was seized off Somalia in October 2009 and held for 47 days. A reported $3.3 million ransom was paid. Spain says it does not pay ransoms, but in the Alakrana case, the government said earlier it did what it had to do.

Government comment was not immediately available Tuesday.

Spanish commandos captured the men as they sailed away from the boat during the hijacking.

Spike in ticks, fireflies ... Where to eat around Jones Beach ... LI's Special Olympics winner  Credit: Newsday

Wife killer's parole denied ... Spike in ticks, fireflies ... Where to eat around Jones Beach ... LI's Special Olympics winner

Spike in ticks, fireflies ... Where to eat around Jones Beach ... LI's Special Olympics winner  Credit: Newsday

Wife killer's parole denied ... Spike in ticks, fireflies ... Where to eat around Jones Beach ... LI's Special Olympics winner

FLASH SALE

$1 FOR ONE YEAR

Unlimited Digital Access

SUBSCRIBE NOW >>Cancel anytime - new subscribers only