On 20 November 1816, King Girvan Yuddha died of smallpox, aged nineteen. Girvan had two wives – the first wife committed sati with Girvan, while the second wife also died of smallpox after 14 days of Girvan's death. Thus, Girvan was succeeded by his only son, Rajendra Bikram Shah, an infant of two years old, after 18 days of his father's death on 8 December 1816. Therefore, Bhimsen Thapa, in collusion with the queen regent, Tripurasundari, remained in power despite the defeat of Nepal in the Anglo-Nepalese War of 1814–16. There was a sustained opposition against Bhimsen from factions centered around leading members of other aristocratic families, notably the Pandes, who denounced what they felt was his cowardly submission to the British. Paradoxically, the peacetime after the Anglo-Nepalese War saw the inflation and modernization of the Nepal army, which Bhimsen used to keep his opposition under control, while at the same time convincing the suspicious British that he had no intention of using it against them. Bhimsen appointed his own family members and his most trusted men to the highest positions at the court and in the army, while members of older aristocratic families were made administrators of far-flung provinces of the kingdom, away from the capital.