Original: He was  released after a few weeks, at which point he began teaching at the University of Mashhad.
Simplified: Shariati began teaching at the University of Mashhad.