Singapore's long-ruling party retained power Saturday but its support fell sharply, while the opposition made gains, in a general election held under the shadow of a coronavirus outbreak.

Voters put on masks and gloves and had to observe social distancing rules during a poll held as the city-state emerges from a lengthy lockdown.

The affluent financial hub has seen large virus outbreaks in dormitories housing low-paid foreign workers, but with new infections slowing and authorities easing a partial lockdown the government pushed ahead with the poll.

Singapore's on-the-ground election campaigning has been limited this time around but the online campaign has been lively
Singapore's on-the-ground election campaigning has been limited this time around but the online campaign has been lively AFP / ROSLAN RAHMAN

The People's Action Party (PAP), which has ruled Singapore for six decades, was always assured of victory, and won 83 of 93 parliamentary seats up for grabs, and 61.2 percent of the popular vote.

But that was pointedly down on the nearly 70 percent of the vote it won at the country's last election in 2015, while the opposition Workers' Party picked up 10 seats -- its best ever showing at an election.

Prime Minister Lee Hsien Loong, visibly disappointed, conceded the "percentage of the popular vote is not as high as I had hoped".

Prime Minister Lee Hsien Loong has sought to project his party as a force for stability that can guide Singapore through tough times
Prime Minister Lee Hsien Loong has sought to project his party as a force for stability that can guide Singapore through tough times AFP / Roslan RAHMAN

"The results reflect the pain and uncertainty that Singaporeans feel in this crisis -- the loss of income, the anxiety about jobs," he told a press conference.

"This was not a feel-good election."

The trading hub has been hit hard by the pandemic and is forecast to be heading for its worst recession since independence in 1965.

Voters in Singapore cast their ballots with a raft of strict safety measures in place to prevent the spread of coronavirus
Voters in Singapore cast their ballots with a raft of strict safety measures in place to prevent the spread of coronavirus AFP / Roslan RAHMAN

The PAP's share of the popular vote was close to its lowest ever level of 60.1 percent, in the 2011 election.

But for the Workers' Party, which previously held just six seats, the results felt like a victory. Raucous celebrations erupted in one of the party's strongholds, with people cheering and waving flags.

"I'm very grateful to all the voters, I'm also very humbled," said party leader Pritam Singh. "I think there's a lot of work to do."

The poll is a step in a carefully orchestrated transition of power to a new generation of leaders
The poll is a step in a carefully orchestrated transition of power to a new generation of leaders AFP / Roslan RAHMAN

Commentators said the ruling party's support may also have been dented by a desire for change among the young.

"Younger voters wanted their voices to be heard in a more significant way," Eugene Tan, political analyst from Singapore Management University, told broadcaster CNA.

"One-party governance may not go down so well with them in this age and time."

IMAGESSingaporeans vote in a general election as the city-state emerges from a major coronavirus outbreak that swept through migrant worker dormitories.The People's Action Party (PAP), which has governed Singapore for six decades, is assured of victory
IMAGESSingaporeans vote in a general election as the city-state emerges from a major coronavirus outbreak that swept through migrant worker dormitories.The People's Action Party (PAP), which has governed Singapore for six decades, is assured of victory but faces an opposition with some popular candidates backed by the estranged brother of the country's premier. AFPTV / Catherine LAI

Friday's vote had been marred after long queues formed outside polling stations due to the need to undergo virus checks, prompting election officials to extend voting by two hours.

Opposition groups reacted furiously, with the Singapore Democratic Party calling it "highly irregular", adding that some of their polling agents had to leave before voting ended.

Prime Minister Lee, in charge since 2004 but now likely heading for his final term as premier, had repeatedly called COVID-19 "the crisis of a generation" and sought to project his party as a force for stability.

But his message did not resonate with voters, while the opposition also received a boost after they were joined by Premier Lee's estranged brother, Lee Hsien Yang.

The sibling is locked in a long-running feud with the prime minister over the legacy of their father, Singapore's late founding leader Lee Kuan Yew, and has become a member of the Progress Singapore Party, although he did not run for office himself.

His party was among a host of opposition groups taking on the PAP, although it did not win any seats.

The PAP, which oversaw Singapore's transformation into one of the world's wealthiest societies, enjoys solid support but has been accused of arrogance, gerrymandering and targeting its rivals.

During the campaign, several media outlets were hit with a controversial law against misinformation after carrying comments made by an opposition figure on the virus outbreak.

They were ordered to place warnings next to the comments, saying they contained false information.

Job security and the government's response to the pandemic have been key topics among voters.

After initially keeping the virus in check, Singapore saw major outbreaks in the foreign worker dorms. It has reported more than 45,000 infections, including 26 deaths.