By the 11th century, clockwork was used for both timepieces and to track astronomical events, in Europe. The clocks did not keep time very accurately by modern standards, but the astronomical devices were carefully used to predict the positions of planets and other movement. The same timeline seems to apply in Europe, where mechanical escapements were used in clocks by that time.
