Involved in the disgrace of his friend , Francisco de CabarrÃ s , Jovellanos spent the years 1790 to 1797 in a sort of prison at Gijon where he wrote . Involved in the disgrace of his friend , Francisco de CabarrÃ s , Melchor de Jovellanos spent the years 1790 to 1797 in a sort of banishment at GijÃ n , engaged in literary work and in founding the Asturian institution for agricultural , industrial , social and educational reform throughout his native province .