the family moved to madrid in the last stage of the alphonse monarchy