Rajapaksa and Fonseka were allies in their campaign against the Tamil Tiger rebels and ended their 25-year armed war for independence. After defeating the rebels last May, both were hailed as heroes by the country's Sinhalese majority. Fonseka quit the army, challenged Rajapaksa in the January election and lost by 18 per cent.