The prime minister of Mauritius has accepted that his coalition, L'Alliance Lepep, has suffered a "huge defeat" following Sunday's parliamentary election.
"The population has decided to choose another team," Prime Minister Pravind Jugnauth, 62, told journalists on Monday.
Jugnauth was seeking a second five-year term, but his main rival, Navin Ramgoolam, 77, leader of the Alliance of Change coalition, looks set to become the next leader of the Indian Ocean archipelago.
Mauritius is known as one of Africa's most stable democracies, but this election was tainted by a phone-tapping scandal, with leaked recordings of public figures posted online.
In response, the government issued a social media ban until after the election, although this led to an outcry and the decision was reversed within 24 hours.
Final results are yet to be released but Ramgoolam's party looks set to win.
Ramgoolam, a former doctor, told reporters that his party was "heading towards a huge victory", but didn't go into any further detail as he said all votes must be counted first.
"We must respect this choice... and we wish the country and the population good luck," said Jugnauth.
The mood in the capital Port Louis reflects this changing tide, as people gathered in hopeful anticipation of results that signal a fresh direction for the country.
People were dancing and singing in the streets with vuvuzelas, the national flags in their hands and fire crackers.
Ibrahim, who voted for the Alliance for Change told the OceanNewsUK that "growing public dissatisfaction" was a major reason the ruling party lost.
The cost-of-living crisis has been a major issue for many Mauritians, along with a growing concern about governance and corruption.
On the campaign trail, both parties promised to improve the lives of people on the islands.
Ramgoolam - whose father was a liberation hero and has already twice served as prime minister - said he would increase pensions, introduce free transport and internet and reduce fuel costs.
Mauritius' former foreign minister and a member of the opposition coalition, Arvin Boolell, told the OceanNewsUK the election was a "victory of the people".
Voter turnout was about 80%, according to the electoral commission.
Citizens went to the polls to elect lawmakers for the 62 seats in parliament for the next five years.
Additionally, up to eight "best loser" seats are allocated to ensure fair ethnic representation in parliament.
The vote comes after a historic agreement in which the UK gave up sovereignty over the Chagos Islands to Mauritius.