What did Martin Luther study in university?

Luther began studies in law and philosophy, but found them unsatisfactory and he did not complete the courses. He studied theology, eventually becoming a Doctor of Theology and a lecturer at the University of Wittenberg.