 When he was twenty-two years old he was awarded an endowed chair in the University of Madrid.When he was twenty-five he was appointed member of the Real Academia Española, and a little later, member of the Real Academia de Historia.He also directed the Biblioteca Nacional.