The Qing government was a major patron of Tibetan Buddhism in Hohhot and Inner Mongolia more broadly. The association between the government and religion assisted the Qing in maintaining their power in Inner Mongolia. Badekar Monastery was built sometime after the Kangxi era as part of the rapid construction of Tibetan Buddhist structures. The monastery was expanded on a massive scale under the Qianlong emperor, reportedly to pacify the local Mongolian population after the Qing massacred a rebellious group from the Dzungar Basin. The complex also received generous grants and expansion under the Jiaqing emperor and Daoguang emperor.