He received an excellent education and also spent many years in western Europe, assimilating the new ideas both literary and political, and making the acquaintance of the leaders of the Romantic school.