Former Prime Minister of Sri Lanka Ranil Wickremesinghe was on Thursday sworn in as the eighth president of the island nation and will face the tough task of leading the country out of its economic crisis and restoring order after months of mass protests.

Wickremesinghe, 73, was sworn in as the 8th Executive President of Sri Lanka at the Parliament complex before Chief Justice Jayantha Jayasuriya.

Also read: Sri Lankan lawmakers elect Ranil Wickremesinghe as president

Wickremesinghe, who took over as the Acting President after his predecessor Gotabaya Rajapksa fled the country and resigned last week, is the first Sri Lankan president to be elected by Parliament following a vote.

In May 1993, late DB Wijetunga was elected uncontested after the demise of R Premadasa who was the then President. 

Also read: Sri Lankan students in India worry about home as crisis deepens

Wickremesinghe was elected as Sri Lanka’s President by lawmakers on Wednesday, in a rare move that could provide continuity for crucial discussions with the IMF for a bailout deal for the cash-strapped nation. He secured 134 votes in the 225-member House while his nearest rival and dissident ruling party leader Dullas Alahapperuma got 82.

A Cabinet of 20-25 members will be appointed within the next few days to serve under President Wickremesinghe, the Daily Mirror newspaper reported. Wickremesinghe’s comfortable victory with the backing of the Rajapaksa’s Sri Lanka Podujana Peramuna (SLPP) party showed the Rajapaksa family’s firm grip on Sri Lankan politics despite the resignations of President Rajapaksa, former prime minister Mahinda Rajapaksa and former finance minister Basil Rajapaksa in recent weeks in the face of massive anti-government protests.

Also read: When will Indian government brief Parliament on Sri Lanka situation

Wickremesinghe’s victory could inflame the situation once again as many anti-government protesters see him as inextricably tied to the erstwhile Rajapaksa regime, blamed for the country’s worst economic crisis since independence in 1948.

A few hundred protesters quickly gathered after Wickremesinghe was elected as president to express their outrage as they saw him as part of the problematic political establishment.

Also read: ‘I was in queue for two days’: Sri Lankan cricketer highlights country’s fuel shortages

Sri Lanka needs about USD 5 billion in the next six months to cover basic necessities for its 22 million people, who have been struggling with long queues, worsening shortages and power cuts. Sri Lankans had been calling for months for Rajapaksa, whose family had dominated politics in the country for much of the past two decades, to resign.