In November 1814, ten British subjects were captured and mutilated in Kandyan territory. Governor Robert Brownrigg ordered several British forces moved inland from their coastal strongholds in January 1815, accompanied by native forces under Ehelepola. Molligoda, Ehelepola's successor in Sabaragamuwa and Dissava of the Four Korales, defected to the British in February; Kandy was seized on 14 February, and Sri Wickrama Rajasinghe himself captured on 18 February by Ehelepola's men. The king was subsequently exiled to India, where he died in 1832. His son died childless in 1843, bringing the Nayakkar line to an end.