Temple was then at the University of Edinburgh (1800–1803), where he learnt political economy from Dugald Stewart, a friend of the Scottish philosophers Adam Ferguson and Adam Smith. Temple later described his time at Edinburgh as producing "whatever useful knowledge and habits of mind I possess". Lord Minto wrote to the young Palmerston's parents that Henry Temple was well-mannered and charming. Stewart wrote to a friend, saying of Temple: "In point of temper and conduct he is everything his friends could wish. Indeed, I cannot say that I have ever seen a more faultless character at this time of life, or one possessed of more amiable dispositions."