In 1834 he relocated to Thurnau as dean and senior pastor, and several years later was appointed professor of theology at the University of Erlangen as a successor to Hermann Olshausen (1840). In 1842 he was appointed Konsistorialrat in Bayreuth, followed by duties as Konsistorialrat and Hauptprediger in Ansbach. In 1866 he was appointed Oberconsistorialrat in Munich.[1][2]
He wielded considerable influence towards the implementation of the Erweckungsbewegung (revivalist movement) in Bavaria. He also promoted the development of the Innere Mission, a German Protestant movement. Ranke was an opponent of theological rationalism.[3]
Published works
He was the author of lyrics to popular hymns, two of which are part of the present-day Evangelisches Gesangbuch (Protestant hymn book):[3]