In 1986 the NRA captured Kampala with a force of 14,000 soldiers, including 500 Rwandans, and formed a new government. After Museveni was inaugurated as president he appointed Kagame and Rwigyema as senior officers in the new Ugandan army. The experience of the Bush War inspired Rwigyema and Kagame to consider an attack against Rwanda, with the goal of allowing the refugees to return home. As well as fulfilling their army duties, the pair began building a covert network of Rwandan Tutsi refugees within the army's ranks, intended as the nucleus for such an attack. With the pro-refugee Museveni in power, RANU was able to move back to Kampala. At its 1987 convention it renamed itself to the Rwandan Patriotic Front and it too committed to returning the refugees to Rwanda by any means possible. In 1988 a leadership crisis within the RPF prompted Fred Rwigyema to intervene in the organisation and take control, replacing Peter Bayingana as RPF president. Kagame and other senior members of Rwigyema's Rwandan entourage within the NRA also joined, Kagame assuming the vice presidency. Bayingana remained as the other vice president but resented the loss of the leadership. Bayingana and his supporters attempted to start the war with an invasion in late 1989 without the support of Rwigyema, but this was quickly repelled by the Rwandan Army.