sentences:  In 1819, he began attending the University of Edinburgh, where he was known to be an acquaintance of George Wilson, the Regius Professor of Engineering.He also studied at the University of St Andrews for at least a year under the tutelage of Thomas Chalmers and other eminent professors.Those that knew Riddell described him as an intelligent man but focused on poetry, often rising from bed late into the night to record his ideas.