Kutch was formerly an independent state, founded in the late 13th century by a Samma Rajput named Jada, from which name the Jadeja Rajputs derive their patronymic. The Jadeja dynasty ruled not only Kutch but also much of neighbouring Kathiawar for several centuries until the independence of India in 1947. In 1815 Kutch became a British protectorate and ultimately a princely state, whose local ruler acknowledged British sovereignty in return for local autonomy. Bhuj was the Capital of Princely State of Kutch. One surviving relic of the princely era is the beautiful Aina Mahal ("mirror palace"), built in the 1760s at Bhuj for the Maharao of Kutch by Ram Singh Malam who had learnt glass, enamel and tile work from the Dutch. Along with that during that time period Kutch had its own currency, while the rest of British India was using rupees. The Maharao also had built at his expense the Cutch State Railway.