In the early 17th century, Raja Jhujhar Singh rebelled against the Mughal emperor Shah Jahan, whose armies devastated the state and occupied Orchha from 1635 to 1641. Orchha and Datia were the only Bundela states not subjugated by the Marathas in the 18th century. The town of Tehri, now Tikamgarh, about south of Orchha, became the capital of Orchha state in 1783, and is now the district town; Tehri was the site of the fort of Tikamgarh, and the town eventually took the name of the fort.