 In 1869 Marty became a teacher in a secondary school in his home town and received higher orders the next year, though he continued to stay in contact with Brentano. Marty was hardly aware, however, that Brentano was having misgivings about his Catholic faith, especially in the light of the doctrine of infallibility that was declared in 1870. Though Brentano became a professor in Würzburg in 1872, he resigned from this position and left the church in the following year. Both Stumpf and Marty were soon to follow him in abandoning their pursuit of a profession as clergymen. This was not as damaging to Stumpf, who had never been ordained, as it was to Marty. As a consequence, he never married in order to avoid disappointing his family more than he already had done. His circumstances thus allowed him little choice but to pursue an academic career, as he did by receiving a doctorate in Göttingen with Rudolf Hermann Lotze as his dissertation advisor (as Stumpf had also done). An expanded version of the resulting work (Marty 1875) was subsequently published and he took a position at the newly established university in Czernowitz.