Myanmar's ruling party led by Aung San Suu Kyi has captured enough seats in parliament to retain power, according to official results of last weekend's general election released Friday.

The Union Election Commission said that of the 473 seats for which results have been released so far, the National League for Democracy has taken 396, a figure well over what it needs to form the new government.

The commission has just three more seats to be announced.

The NLD needed at least 322 seats to retain its majority in parliament.

The military-backed main opposition Union Solidarity and Development Party has so far won a meager 30 seats, while ethnic minority parties have got 47, according to the commission.

Up for grabs in the election are 476 of the combined 664 seats in the upper and lower houses of parliament because 166 seats, or 25 percent of the total, are set aside for military appointees, and voting in 22 seats was canceled due to security concerns.

In an electoral system skewed toward the USDP, the NLD needed to win almost 68 percent of the contested seats to retain its majority.

The USDP, in a press briefing in Yangon earlier Wednesday, said it will not accept the results of Sunday's election, alleging that irregularities and unfairness occurred both during and in the run-up to the election, and asked the Union Election Commission for a rerun of the polls as soon as possible in cooperation with the military.

The commission, however, at its own press briefing in capital Naypyitaw the same day immediately rejected the party's demand, saying the allegations are unfounded.

The first general election in five years was held amid the second wave of the coronavirus pandemic in the country, with restrictions imposed on campaigning and safety measures taken at polling places.

The NLD boycotted the 2010 election that ended decades of military rule, leaving a party led by a group of retired army generals to rule Myanmar from 2011 to 2016.

In the 2015 general election, the NLD won a landslide victory by bagging 390 of the 491 seats contested, bringing Suu Kyi and her party to power for the first time the following year.