On the death of Sir John Leslie, Professor of Natural Philosophy at Edinburgh University in 1832, Scott Russell, though only 24 years old, was elected to temporarily fill the vacancy pending the election of a permanent professor, due to his proficiency in the natural sciences and popularity as a lecturer.