After the death of Anacletus in January 1138, Roger had sought the confirmation of his title from Innocent. However, the pope wanted an independent Principality of Capua as a buffer state between the Kingdom of Sicily and the Papal States, something Roger would not accept. In the summer of 1139, Innocent II invaded the kingdom with a large army, but was ambushed at Galluccio on 22 July 1139, southeast of present-day Cassino, by Roger's son and was captured. Three days later, by the Treaty of Mignano, the pope proclaimed Roger II "rex Siciliae ducatus Apuliae et principatus Capuae" (king of Sicily, duke of Apulia and commander of Capua). The boundaries of his "regno" were only later fixed by a truce with the pope in October 1144. These lands were for the next seven centuries to constitute the kingdoms of Naples and Sicily.