Pedro de Ivar, Spain