Rajasimha II, also known as Rajasingha II (pre coronation, Prince Mahastana), was a Sinhalese King, reigned 1629 – 6 December 1687; third king of the kingdom of Kandy in Sri Lanka. Rajasingha requested Dutch aid to help expel the Portuguese from the island, which they successfully did in 1656. By this time however it had become clear to the Kandyans that the Dutch not only intended to expel the Portuguese but to replace them as the major colonial power on the island, and from 1645 onwards Rajasingha was engaged in sporadic warfare with his erstwhile allies.
Rajasingha was the son of Senarat (Senarath), the second ruler of the kingdom of Kandy, based at the city of Senkadagala (modern Kandy) in Sri Lanka's mountainous interior. Since the Portuguese annexation of much of Sri Lanka's coastal areas the kingdom had represented the sole independent native polity on the island. Near incessant warfare had significantly embittered the Kandyans towards the Portuguese; furthermore the brief success of the warlike kingdom of Sitawaka a century earlier had convinced many in the kingdom that the total expulsion of the colonial power was a distinct possibility.
As a young man Rajasingha participated in the 1612 counteroffensive that routed a Portuguese invasion into Kandyan territory.
Rajasingha succeeded his father to the throne in 1634 (1629 in some sources)
The single most important trend of Rajasingha's long reign was the replacement of the Portuguese by the Dutch. The strategy of bringing in one European power to help fend off another had backfired spectacularly, and the Kandyan kingdom found itself in much the same position as it had been with the Portuguese. Despite the Dutch being less determined to convert the mass populace and impose their cultural dominance, Europeans increasingly came to be seen as rapacious adventurers who were simply incapable of honouring their deals.
The situation inside the Kandyan kingdom became increasingly unstable and during Rajasingha's reign many of the powerful families that came to dominate Kandyan politics in the 18th century acquired greater power. It is interesting to note that attempts on Rajasingha's life appear to have been rather commonplace.[10] Rajasingha's reign also saw a gradual diminution of the Kandyan's dreams of reuniting Sri Lanka under a single, native, crown.