With Price at the helm, the PUP won all national elections until 1984. In that election, the first national election after independence, the PUP was defeated by the United Democratic Party (UDP). UDP leader Manuel Esquivel replaced Price as prime minister, with Price himself unexpectedly losing his own House seat to a UDP challenger. The PUP under Price returned to power after elections in 1989. The following year the United Kingdom announced that it would end its military involvement in Belize, and the RAF Harrier detachment was withdrawn the same year, having remained stationed in the country continuously since its deployment had become permanent there in 1980. British soldiers were withdrawn in 1994, but the United Kingdom left behind a military training unit to assist with the newly created Belize Defence Force.