Luther was educated at the cathedral school at Eisenach and at the Univ. of Erfurt (1501–5). In 1505 he completed his master's examination and began the study of law. Several months later, after what seems to have been a sudden religious experience, he entered a monastery of the Augustinian friars at Erfurt. There, devoutly attentive to the rigid discipline of the order, he began an intensive study of Scripture and was ordained a priest in 1507. In 1508 he was sent to the Univ. of Wittenberg to study and to lecture on Aristotle. In 1510, Luther was sent to Rome on business for his order, and there he was shocked by the spiritual laxity apparent in high ecclesiastical places.
Upon his return he completed the work for his theological doctorate and became a professor at Wittenberg. This period was the beginning of the intimacy between Luther and John von Staupitz, whose influence led Luther to say in 1531, "I have received everything from Staupitz." For Luther these years were times of profound spiritual and physical torment. Obsessed with anxieties about his own salvation, he sought relief in frequent confession and extreme asceticism. His search for peace of mind led him, under the guidance of Staupitz, to further study of the Scriptures.
In preparation for his university lectures in 1513, especially on the letters of Paul, Luther resolved his turmoil. In the Scriptures Luther found a loving God who bestowed upon sinful humans the free gift of salvation, to be received through faith, against which all good works were as nothing. Luther devoted himself with increasing vigor to the work of the church, and in 1515 he became district vicar.