The son of a carpenter, Whewell rose to the top. For 28 years he was a Professor, and for 25 years he was Master of Trinity College, Cambridge. He was one of the founding members and a president of the British Association for the Advancement of Science, a Fellow of the Royal Society, and President of the Geological Society. It was the Prime Minister himself, Robert Peel, who recommended his appointment as Master of Trinity.