The Anatolia agency says the men were sentenced Tuesday.

The two, using a fake bomb, attempted to divert an Atlasjet flight to Iran after it took off from northern Cyprus in 2007.

The pilots instead landed in Antalya, on Turkey's Mediterranean coast, on the pretext of refueling and fled the aircraft. The ordeal ended a few hours later with the surrender of the hijackers.

Police said the Palestinian suspect had been trained at an Al-Qaeda camp in Afghanistan in 2004 and the two wanted to join Al-Qaeda once they reached Iran.