The tallest pre-modern building in China was built for both religious and martial purposes. The Liaodi Pagoda of 1055 AD stands at a height of 84 m (276 ft), and although it served as the crowning pagoda of the Kaiyuan monastery in old Dingzhou, Hebei, it was also used as a military watchtower for Song Dynasty soldiers to observe potential Liao Dynasty enemy movements.