The emperors, starting with the First Emperor of Qin, formalized these expeditions and incorporated them into state ritual as prescribed by Confucianism. With every new dynasty, the new emperor hurried to the Five Great Mountains in order to lay claim to his newly acquired domains. Barring a number of interruptions, this imperial custom was preserved until the end of the last dynasty, when, after the fall of the Qing Dynasty in 1911, Yuan Shikai had himself crowned as emperor at the Temple of Heaven in Beijing. But just to be safe, he also made an offer to the god of the northern Mount Heng.