 In 1947, when India gained independence from the British colonial rule, Cochin was the first princely state to join India willingly.In 1949, Travancore-Cochin state came into being with the merger of Cochin and Travancore.The King of Travancore was the Rajpramukh of the Travancore-Cochin Union from 1949 to 1956.