KAMPALA — Ugandan President Yoweri Museveni, 81, will be sworn in on Tuesday in Kampala to begin a further five-year presidential term, his eighth in office. Museveni first took power by force in 1986 as the leader of a guerrilla force aiming to democratize Uganda and has now been in power for 40 years.

Army chief Gen. Muhoozi Kainerugaba, the president's son, oversaw dayslong rehearsals of the military parade for the inauguration, and Russian-made Sukhoi fighter jets flew over official ceremonial grounds in the capital. Opposition leader Bobi Wine, who has twice run for president, rejected the outcome of the January election that gave Museveni his next term.

Kainerugaba, 52, has declared his wish to succeed his father and said recently that the mission to do so is unstoppable. He joined the army in the late 1990s, attended military schools in the U.S. and Britain, and took charge of a presidential guard unit that has been expanded into an elite special forces group. He is also the founder of the Patriotic League of Uganda, whose members include government ministers and businesspeople.

Critics have dubbed Kainerugaba's rise to the top of the armed forces the "Muhoozi Project." Museveni and Kainerugaba have denied the existence of a hereditary rule scheme. The president has not said when he would retire and has no rivals within the ruling party.

"While people are waiting for the legal transition from Museveni, the de facto transition has already happened. Kainerugaba, more than the president, is the final voice on defense and security matters," said Angelo Izama, head of the Uganda-based Fanaka Kwawote think tank. Kainerugaba has ordered the arrest of multiple generals over alleged corruption, including some who were once his friends.

In 1986, Museveni said Africa's problem was leaders who overstayed their welcome. He later said his criticism was of leaders who prolonged their rule without an electoral mandate.

Ugandan lawmakers recently passed a bill whose stated purpose is to deter foreign interference. The legislation forbids an agent of a foreigner from obtaining external support exceeding 400 million Ugandan shillings, roughly $110,000, within a 12-month period without approval of the interior minister.