In 1833, Brian Hodgson became British resident, openly favouring Bhimsen Thapa's opponents, and in 1837 the king announced his intention to rule independently, depriving the prime minister and his nephew of their military powers.