This was why, in China, the compilation and promulgation of calendars was a strict monopoly of state. Only by accurately keeping track of eclipses could an emperor hope to avert disaster. Over recent decades, however, the Ministry of Rites had made a succession of embarrassing mistakes. In 1592, its prediction of an eclipse had been out by an entire day. Reform had begun to seem essential.