Pope Callixtus II
In 1114, Duke William IX of Aquitaine, who claimed Toulouse by right of his wife Philippa, daughter of Count William IV, invaded the county and conquered it. Alfonso recovered a part in 1119, but he was not in full control until 1123. When at last successful, he was excommunicated by Pope Callixtus II for having expelled the monks of Saint-Gilles, who had aided his enemies.