Aged thirteen he entered the
University of Edinburgh. In 1809 he graduated
M.A.; and in 1810, on the recommendation of
Sir John Leslie, he was chosen master of the mathematical school, newly established at
Haddington,
East Lothian. Amongst his pupils there were
Jane Welsh, later famous as Mrs. Carlyle, one of the great letter-writers of the nineteenth century, and
Thomas Burns. He became engaged in 1812 to Isabella Martin, but he gradually fell in love with Jane Welsh, and she with him. He tried to break off his engagement with Isabella, but was prevented by her family. It was Irving, ironically, who in 1821 had introduced
Thomas Carlyle, the
essayist, to her. Eventually, in 1823, he married Isabella. (Confusingly, Irving was also influential in the life of
another Scottish Thomas Carlyle, born a few years later, whom he eventually gave a position of some responsibility within his new church.) His appointment at Haddington was exchanged for a similar one at
Kirkcaldy Academy in
Fife, in 1812. Completing his divinity studies by a series of partial sessions, he was licensed to preach in June 1815, but continued to discharge his scholastic duties for three years. He devoted his leisure, not only to mathematical and
physical science, but to a course of reading in English literature, his bias towards the antique in sentiment and style being strengthened by a perusal of the older classics, among whom
Richard Hooker was his favourite author. At the same time his love of the marvellous found gratification in the wonders of the
Arabian Nights, and it is further related of him that he used to carry in his waistcoat pocket a miniature copy of
Ossian, passages from which he frequently recited with sonorous
elocution and vehement gesticulation. In the summer of 1818, he resigned his mastership and to increase the probability of obtaining a permanent appointment in the
Church of Scotland, took up his residence in Edinburgh. Although his exceptional method of address seems to have gained him the qualified approval of certain dignitaries of the church, the prospect of his obtaining a settled charge seemed as remote as ever. He was considering a missionary tour in Persia when he was arrested by steps taken by
Thomas Chalmers which, after considerable delay, resulted in October 1819 in Irving being appointed his assistant and missionary in St John's parish, Glasgow. Except in the case of a select few, Irving's preaching awakened little interest among the congregation of St John's. Chalmers himself, with no partiality for its bravuras and flourishes, compared it to
Italian music, appreciated only by connoisseurs; but as a missionary among the poorer classes he wielded a powerful influence. The benediction "Peace be to this house", with which, in accordance with
apostolic usage, he greeted every dwelling he entered, was not inappropriate. ==London==