James I of Aragon
With his brother Raymond, William supported the king James I of Aragon during the Spanish Reconquista. From his military success, James I of Aragon named him governor of Montepellier and Adelantado maior of Murcia. He also signed the Treaty of Corbeil on behalf of James I of Aragon in 1258.