Ao and Ximen Bao. Zhang's contemporary, Du Shi, (d. AD 38) was the first to apply the motive power of waterwheels to operate the bellows of a blast furnace to make pig iron, and the cupola furnace to make cast iron. Zhang provided a valuable description of his water-powered armillary sphere in the treatise of 125, stating: The equatorial ring goes around the belly of the armillary sphere 91 and 5/19 (degrees) away from the pole. The circle of the ecliptic also goes round the belly of the instrument at an angle of 24 (degrees) with the equator. Thus at the summer solstice the ecliptic is 67 (degrees) and a fraction away from the pole, while at the winter solstice it is 115 (degrees) and a fraction away. Hence (the points) where the ecliptic and the equator intersect should give the north polar distances of the spring and autumn equinoxes. But now (it has been recorded that) the spring equinox is 90 and 1/4 (degrees) away from the pole, and the autumn equinox is 92 and 1/4 (degrees) away. The former figure is adopted only because it agrees with the (results obtained by the) method of measuring solstitial sun shadows as embodied in the Xia (dynasty) calendar. Zhang Heng's water-powered armillary sphere had profound effects on Chinese astronomy and mechanical engineering in later generations. His model and its complex use of gears greatly influenced the water-powered instruments of later astronomers such as Yi Xing (683–727), Zhang Sixun (fl. 10th century), Su Song (1020–1101), Guo Shoujing (1231–1316), and many others. Water-powered armillary spheres in the tradition of Zhang Heng's were used in the eras of the Three Kingdoms (220–280) and Jin Dynasty (266–420), yet the design for it was temporarily out of use between 317 and 418, due to invasions of northern Xiongnu nomads. Zhang Heng's old instruments were recovered in 418, when Emperor Wu of Liu Song (r. 420–422) captured the ancient capital of Chang'an. Although still intact, the graduation marks and the representations of the stars, Moon, Sun, and planets were quite worn down by time and rust. In 436, the emperor ordered Qian Luozhi, the Secretary of the Bureau of Astronomy and Calendar, to recreate Zhang's device, which he managed to do successfully. Qian's water-powered celestial globe was still in use at the time of the Liang Dynasty (502–557), and successive models of water-powered armillary spheres were designed