Namibia's ruling party has trounced all rivals in the presidential and parliamentary election, with Prime Minister Hage Geingob getting nearly 87 percent of the vote.

The country's electoral commission announced Monday that the ruling SWAPO party won 80 percent of the vote in Friday's parliamentary election in the southern African country.

Namibia’s Ruling Party Wins Landslide Election

Geingob will be inaugurated as president March 21, when the rest of the cabinet will take office.

Namibia’s Ruling Party Wins Landslide Election

SWAPO also won 77 seats in the National Assembly, leaving only 19 seats to be shared among opposition parties.

Namibia’s Ruling Party Wins Landslide Election

Regional election observers declared the elections free and fair. Electronic voting machines instead of paper ballots were used for the first time.

U.S. Secretary of State John Kerry congratulated Namibia on the elections, saying "the extraordinary participation among first-time voters and women candidates reflects the progress that Namibia has made."

SWAPO has ruled Namibia since its independence from South Africa in 1990.