Lord Narasimha, Lord Ganesha, and Lord Ayyappa. It was built by King Marthanda Varma of the Travancore royal family in 1745, when he transferred the Travancore capital from Padmanabhapuram, now in neighbouring Kanyakumari District in Tamil Nadu. King Marthanda Varma began his reign as 'Sree Padmanabhadasa', the Slave of Sree Padmanabha. The vast temple complex, with its tall Gopuram decorated with detailed carvings reflected in a huge temple tank, is today a center of attraction for devotees and sightseers. The city was the capital of the Travancore state from 18th century CE until India's independence. The Thiruvananthapuram Municipality came into existence in 1920 as the first municipality in Travancore region. After two decades, during the reign of Sree Chithira Thirunal, Thiruvananthapuram Municipality was converted into Corporation on 30 October 1940. Consequent to the recommendations of the State Reorganization Commission, the Vilavancode subdistrict of Thiruvananthapuram was merged with Tamil Nadu, along with another three southern subdistricts, Thovala, Agastheewaram, and Kalkulam from Travancore which eventually formed Tamil Nadu's Kanyakumari district. The state of Kerala came into being on 1 November 1956. Kilimanoor palace In 1705 (ME 880) the son and two daughters of Ittammar Raja of Parappanad royal house (originally based at Parappanangadi in present-day Malappuram district) were adopted into the Royal house of Venad. Ittammar Raja's sister and her sons, Rama Varma and Raghava Varma, settled in Kilimanoor and married the now adopted sisters. Marthanda Varma, the founder of the Kingdom of Travancore, was the son of Raghava Varma. The nephew of Raghava Varma, Ravi Varma Koil Thampuran, married the sister of Marthanda Varma. Their son became known as Dharma Raja Kartika Thirunnal Rama Varma. In 1740 when an allied force, led by Dutchman Captain Hockert supporting the Deshinganadu King, attacked Venad, an army from Kilimanoor resisted and then defeated them. Although a small victory, this was the first time an Indian army had defeated a European power. In 1753, in recognition of this feat, Marthanda Varma exempted the areas controlled by the Kilimanoor palace from taxes, and granted them autonomous status. The present palace complex was built at this time, together with the Ayyappa temple. for the family deity, Sastha or Ayyapan. Velu Thampi Dalawa held meetings at Kilimanoor palace while planning uprisings against the British. He handed over his sword at the palace before going into his final battle against the British, and India's first President, Dr Rajendra Prasad