King Marthanda Varma founder of Travancore, made Trivandrum his capital and even after his rule ended the city continued to be the capital of the State of Travancore. When Kerala was formed as a state in 1956 the city was unanimously chosen to continue as the capital continuing two centuries of tradition.
It is a small city compared to the other state capitals and thus retains its charm.