Gaston de Lyria, Spain