COLOMBO - Sri Lanka’s Supreme Court on Tuesday suspended the dissolution of Parliament by President Maithripala Sirisena, granting interim relief, lawyers said.

A three-judge bench headed by Chief Justice Nalin Perera, heard petitions filed by many political parties on Monday and Tuesday and issued an order on the dissolution of Parliament till early December. The case was further fixed for argument on Dec. 4, 5 and 6.

President Sirisena, last Friday, dissolved Parliament and declared Jan. 5 as the date for a snap parliamentary election in order to resolve weeks of political turmoil which erupted after the president sacked his Prime Minister Ranil Wickremesinghe and replaced with former President Mahinda Rajapakse.

The president then immediately formed a caretaker government, a move which Wickremesinghe’s party said was illegal.

Sirisena’s sudden move to dissolve Parliament came one and a half years ahead of the scheduled parliamentary polls.

The president said his decision to dissolve Parliament and call for a snap election was to avoid violence from erupting on the streets of the country and on the floor of the House, when Parliament would have convened on Nov. 14.

The president had in an earlier gazette notification prorogued Parliament till Nov. 14.

AFP adds: The 225-member parliament could meet as early as Wednesday to decide which of the duelling pair it backs.

Amid mounting international concern, Wickremesinghe has refused to accept his sacking and has remained in his official residence while Rajapakse has sought to build a parallel administration.

Wickremesinghe’s United National Party (UNP) is the largest single party in the assembly. He told reporters that he expected the legislature to meet Wednesday, as was scheduled before Sirisena dissolved the body to prevent a majority test.

“I will go to parliament tomorrow and we will show we are the legitimate government of Sri Lanka ,” Wickremesinghe said at the Temple Trees residence that has become the opposition headquarters.

Wickremesinghe called the court ruling a “a victory for the people and a victory for decent politics in this country.”

Parliamentary officials said Speaker Karu Jayasuriya called a meeting of political party leaders on Wednesday morning ahead of a formal meeting of legislators who could vote between Wickremesinghe and Rajapakse.

There was no immediate comment from Sirisena or Rajapakse after the Supreme Court’s unanimous decision.

The UNP led petitions against the dissolution of parliament and the three-judge bench, headed by the Chief Justice Nalin Perera, gave the landmark decision to a packed court guarded by hundreds of heavily armed police and commandos.

The court said it would give a final verdict on the petition on December 7, after three more days of hearings.

The judges ordered the independent Elections Commission to halt preparations for the January 5 vote, which Sirisena had announced on Friday.

Security at the courtroom had been beefed up ahead of the hearing as authorities feared clashes between rival supporters.

However, there was no trouble and supporters of Sirisena melted away when it was known that parliament had been restored.

The United States, European Union and other nations have raised concerns over the crisis in the strategically important island nation of 21 million people. Only China has recognised the appointment of Rajapakse, who during his decade as president until 2015 relied heavily on Beijing for diplomatic and financial support.

As president from 2005 until 2015, Rajapakse ended Sri Lanka’s four-decade civil war in 2009 by crushing the Tamil Tigers.

But 40,000 ethnic Tamils were allegedly massacred in the process.

During his time in office from 2001 until 2004, Wickremesinghe is credited with pulling Sri Lanka out of its first ever recession, in part with reforms that have endeared him to the West.