Kanakakkunnu Palace at Thiruvananthapuram. Thiruvananthapuram became a major city on Malabar Coast after the ruler Marthanda Varma annexed all minor kingdoms up to Cochin to form Travancore in 18th century CE.