COLOMBO, Sri Lanka -- New Sri Lankan President Maithripala Sirisena was sworn into office Friday and vowed to curtail the powers amassed by his predecessor, who was swept aside in a stunning election upset.
Sirisena, a longtime political insider -- and an ally of former President Mahinda Rajapaksa until just a few weeks ago -- won the Thursday election by capitalizing on Rajapaksa's unpopularity among the island nation's ethnic and religious minorities, as well as grumbling among the Sinhalese majority about his family's growing power.
"With this victory we will implement the 100-day program in our election manifesto," Sirisena told jubilant crowds in Colombo after his swearing-in. Sirisena had promised to change Sri Lanka's Constitution to drastically reduce the power of the president and return the country to a parliamentary system with a prime minister as its leader.
Sirisena also promised that he would not run again for president.
He thanked Rajapaksa for conceding defeat but called for future campaigns to be "much more mature," and blasted the state media for its coverage.
"Even though they carried out character assassination and vilified me, I can say I had the maturity to bear it all as a result of my long political experience," he said.
He took the oath of office with senior Supreme Court Justice Kanagasabapathy Sripavan, bypassing the country's chief justice, who was installed by Rajapaksa in a widely criticized move to expand his authority even more.
Sirisena then swore in opposition leader Ranil Wickremesinghe as the prime minister.
While Rajapaksa's campaign centred around his victory over the Tamil Tiger rebels in 2009 and his work rebuilding the country's infrastructure, Sirisena's focused on reining in the president's expanding powers. He also accused Rajapaksa of corruption, a charge the president denied.
Rajapaksa's power grew immensely after he defeated the Tigers, using his huge popularity among the Sinhalese, many of whom hailed him as a king. He used his parliamentary majority to scrap a constitutional two-term limit for the president and gave himself the right to appoint many top officials.
He also installed numerous relatives in top government positions, sidelining the party's old guard, which helped give rise to the revolt that brought Sirisena to power.
One of Rajapaksa's brothers is a Cabinet minister, another is the speaker of Parliament and a third is the defence secretary. One of his sons is a member of Parliament and a nephew is a provincial chief minister. The diplomatic service was full of his relatives and friends.
Sirisena (si-ri-SAY'-na) received 51.2 per cent of the votes in Thursday's election and Rajapaksa got 47.5 per cent, said Elections Commissioner Mahinda Deshapriya. Rajapaksa had conceded defeat and vacated his official residence early Friday morning, hours before the official announcement.
Sirisena called on his supporters earlier Friday to remain peaceful in the wake of victory, telling them at a gathering at the Election Commission that they shouldn't "even hurt anybody's feelings."
"The honour of this victory is in your peaceful conduct," he said.
U.S. President Barack Obama praised the peaceful transfer of power and said the United States looked forward to deepening its ties with Sri Lanka.
"Beyond the significance of this election to Sri Lanka, it is also a symbol of hope for those who support democracy all around the world. International and domestic monitors and observers were permitted to do their jobs. Sri Lankans from all segments of society cast their ballots peacefully, and the voice of the people was respected," he said in a statement.
Jagath Dissanayake, a 40-year-old businessman, said people had voted against corruption.
"We can't give a vote of gratitude to him every day," he said, referring to Rajapaksa's war victory.
Wimal Perera, 44, said the results reflected the country's economic hardships. While the economy has grown in recent years on the back of enormous construction projects, many built with Chinese investment money, the country still has a large underclass, many of whom are increasingly frustrated at being left out.
Rajapaksa, who was first elected in 2005, had been widely expected to easily win his third term in office until Sirisena suddenly split away in November, gathering the support of other defecting lawmakers and many of the country's ethnic minorities, making the election a fierce political battle.
Rajapaksa was still thought to be tough to beat because he controlled the state media and has immense financial resources and popularity among the Sinhala majority. But polling was notably strong in Tamil-dominated areas, where voting had been poor in previous elections.
Many Tamils were believed to have voted heavily for Sirisena -- not so much because they supported him but because they despised Rajapaksa so much. He not only crushed the Tamil Tiger rebellion but also largely ignored Tamil demands to heal the wounds of the fighting and years of ethnic divisions.
Muslims, the second-largest ethnic minority, also appeared to have voted against Rajapaksa, who was accused of backing ultranationalist Buddhist groups and turning a blind eye on anti-Muslim violence last June.
As for the country's Sinhalese, which make up about three-quarters of the population, Sirisena's entry into the race gave them another credible option if they wanted Sri Lanka to move in a different direction.
Associated Press writer Bharatha Mallawarachi contributed to this report.