Monte Cassino (today usually spelled Montecassino) is a rocky hill about southeast of Rome, in the Latin Valley, Italy, west of Cassino and at an elevation of . Site of the Roman town of Casinum, it is widely known for its abbey, the first house of the Benedictine Order, having been established by Benedict of Nursia himself around 529. It was for the community of Monte Cassino that the Rule of Saint Benedict was composed. The first monastery on Monte Cassino was sacked by the invading Lombards around 570 and abandoned. Of the first monastery almost nothing is known. The second monastery was established by Petronax of Brescia around 718, at the suggestion of Pope Gregory II and with the support of the Lombard Duke Romuald II of Benevento. It was directly subject to the pope and many monasteries in Italy were under its authority. In 883, the monastery was sacked by Saracens and abandoned again. The community of monks resided first at Teano and then from 914 at Capua before the monastery was rebuilt in 949. During the period of exile, the Cluniac Reforms were introduced into the community. The 11th and 12th centuries were the abbey's golden age. It acquired a large secular territory around Monte Cassino, the so-called Terra Sancti Benedicti ("Land of Saint Benedict"), which it heavily fortified with castles. It maintained good relations with the Eastern Church, even receiving patronage from Byzantine emperors. It encouraged fine art and craftsmanship by employing Byzantine and Islamic artisans. In 1057, Pope Victor II recognised the abbot of Monte Cassino as having precedence over all other abbots. Many monks rose to become bishops and cardinals, and three popes were drawn from the abbey: Stephen IX (1057–58), Victor III (1086–87) and Gelasius II (1118–19). During this period, the monastery's chronicle was written by two of its own, Cardinal Leo of Ostia and Peter the Deacon (who also compiled the cartulary). By the 13th century, the monastery's decline had set in. In 1239, the Emperor Frederick II garrisoned troops in it during his war with the Papacy.