The land of Bharatvarsha was blessed with many emperors who stood as the pillars of dharma, which made the efforts of marauders for mass conversion in this land fail unlike in many countries like Persia, Greece etc., One such emperor who obviated Kerala, the land of dharma from falling under the rule of invaders was Karthika Thirunal Dharma Raja Rama Varma of Travancore. He was addressed as Dharma Raja on account of his rigorous adherence to Dharma Shastras and for providing asylum to thousands of hindus and Christians from malabar during the incursion of Hyder Ali and his son Tipu Sultan.
Rama Varma was born in 1724 AD as the son of the Rani of Attingal and Kerala Varma Koil Thampuran. As he grew up, he took part actively in the military conquests of his uncle Anizham Thirunal Marthanda Varma and availed him in establishing the modern state of Travancore by annexing kingdom after kingdom up to Cochin. With the death of his uncle Marthanda Varma in 1758, Karthika Thirunal Rama Varma succeeded to the Travancore musnud. With the able services of the Dalawa Ayyapan Marthanda Pillai, Karthika Thirunal commenced his reign.
In 1788, Tipu Sultan now the ruler of Mysore entered the regions of Malabar engaging in tactics that included the forced deportation to Srirangapatnam and the conversion of Hindus to Islam by force. The royal families of Malabar and large numbers of Hindu families fled to Travancore, where they were received and treated hospitably by the Maharaja. Tipu Sultan now demanded that the Raja of Cochin, who had accepted the status of a vassal, to claim Alangad and Parurso as to provide Tipu with a pretext for an invasion of Travancore. However, the Raja diplomatically assured Tipu that he would convince the Maharaja of Travancore to become a vassal of Tipu like himself. Tipu then sent envoys to Travancore with a Khareeta, wherein he stated that “I have learnt that you desire to cultivate friendship with our Sircar..”. The Maharajah received Tipu’s envoys in the presence of an East India Company representative, which was taken as an affront by Tipu. The Maharaja withal negotiated with the British for a force to assist in the defense of Travancore, anticipating an attack from Tipu Sultan. Finally in 1789, arguing that the Nedumkotta fortifications passed illegally through the territories of Cochin, his vassal state, Tipu Sultan accumulated his entire force in Malabar and marched to invade Travancore.
Tipu attacked the Nedumkotta again after waiting for three months for further reinforcements to arrive from Kodagu, Bengaluru and Srirangapatnam. For nearly a month, the Travancore army under the protection of the Nedumkotta lines, managed to defend the state. However, finally a breach of about 1 km in length was effected and the Mysorean army entered Travancore. Soon, the entire Nedumkotta fell into the hands of Tipu Sultan. The British forces stationed to assist Travancore did not provide aid to Travancore, but remained passive spectators, since they had not received orders from Governor Holland to fight with the Sultan, much to the despair of the Maharaja. Tipu’s army now devastated the whole of northern Travancore and reached Aluva where they camped on the Periyar river. Hindu temples were destroyed and the subjects fled to the forests. The entire country was laid waste with fire and sword. The Sultan and his army now moved to a place where the Travancore army had built a wall across the river obstructing the water, leaving the river-bed dry. In spite of the warnings of some of his Generals, Tipu decided to wage a battle here at night, certain of his superior numbers. Tipu first ordered two of his regiments to advance and take over the defences which they accomplished with valour. At day-break, the Travancoreans under Kunjai Kutty Pillai broke down the retaining wall, letting the water flood onto the Mysorean forces. A large number of Tipu’s soldiers were killed by the sudden flood and the road of succour and assistance to the advance guard was cut off. The remaining forces were defeated by a sudden attack by Travancore. Of the soldiers of Tipu, who formed the advance guard, none returned to the presence of the Sultan. Three or four hundred cavalry soldiers met with death in front of him. Tipu was begged off his Palki by his General Kamruddin Khan, who fell at his feet, asking him to retreat to his camp. Kamruddin saw to it that Tipu was carried on the shoulders of loyal soldiers across the waters to the other side of the river. The Sultan’s Palki with bed, some personal ornaments, and a dagger fell into the hands of Travancore soldiers. This made the sultan to retreat and go back to Srirangapatnam. Soon the Third anglo Mysore war started in which the joint forces of Travancore and British East India Company invaded Srirangapatnam which led to the defeat of Mysore and death of Tipu Sultan.
Apart from his famous stint of warfare against Tipu in which his forces remained as the only one which were not completely defeated by Tipu at any place, the Maharaja also performed many reform works which led to Travancore being one of the most developed states in Bharat during independence. Dharma raja was one of the very few rulers of that time who gave importance to science and technology for the development of his state. Communications were opened to facilitate trade and business in the state by the Maharaja. Ports were improved and various new products were exported by Travancore during this reign. Ship building was also given importance and several developments in this regard took place. The capital at Thiruvananthapuram was developed and infrastructure like bridges and other public works such as canals for irrigation were constructed. Bazaars and shopping centers were started for the benefit of the people.
The religious tolerance of the Maharaja is clearly evident from the letter of Pope Clement XIV wherein he thanked the Maharaja for the kindness shown to the members of his church in Travancore and officially placing all the Christians in Travancore under the protection of the sovereign during the invasion of Mysore. The Maharaja being a strict follower of Dharma shastras never caused danger to anyone who came under his protection irrespective of their caste, creed, religion etc., which clearly shows the tolerance for other religions in Hindu Dharma. The Maharaja being a dharmic ruler was a patron of many Vedic rituals. He also granted many lands to Vaidika families.