 In 1724 Pope Benedict XIII gave Philip V permission to build a collegiate church dedicated to the Holy Trinity in the Royal Palace of La Granja de San Ildefonso.Philip V made Domingo the first abbot of the college in 1725.To take the position he had to renounce his benefits of dean and canon in Segovia Cathedral.