on astrology and astronomy, two terms historian S. Jim Tester says Gerbert used synonymously. Gerbert may have been the author of a description of the astrolabe that was edited by Hermannus Contractus some 50 years later. Besides these, as Sylvester II he wrote a dogmatic treatise, De corpore et sanguine Domini—On the Body and Blood of the Lord. Legends The legend of Gerbert grows from the work of the English monk William of Malmesbury in De Rebus Gestis Regum Anglorum and a polemical pamphlet, Gesta Romanae Ecclesiae contra Hildebrandum, by Cardinal Beno, a partisan of Emperor Henry IV who opposed Pope Gregory VII in the Investiture Controversy. According to the legend, Gerbert, while studying mathematics and astrology in the Muslim cities of Córdoba and Seville, was accused of having learned sorcery. Gerbert was supposed to be in possession of a book of spells stolen from an Arab philosopher in Spain. Gerbert fled, pursued by the victim, who could trace the thief by the stars, but Gerbert was aware of the pursuit, and hid hanging from a wooden bridge, where, suspended between heaven and earth, he was invisible to the magician. Gerbert was supposed to have built a brazen head. This "robotic" head would answer his questions with "yes" or "no". He was also reputed to have had a pact with a female demon called Meridiana, who had appeared after he had been rejected by his earthly love, and with whose help he managed to ascend to the papal throne (another legend tells that he won the papacy playing dice with the Devil). According to the legend, Meridiana (or the bronze head) told Gerbert that if he should ever read a Mass in Jerusalem, the Devil would come for him. Gerbert then cancelled a pilgrimage to Jerusalem, but when he read Mass in the church Santa Croce in Gerusalemme ("Holy Cross of Jerusalem") in Rome, he became sick soon afterwards and, dying, he asked his cardinals to cut up his body and scatter it across the city. In another version, he was even attacked by the Devil while he was reading the Mass, and the Devil mutilated him and gave his gouged-out eyes to demons to play with in the Church. Repenting, Sylvester II then cut off his hand and his tongue. The inscription on Gerbert's tomb reads in part ("This place will yield to the sound [of the last trumpet]