 A few years later, as the country was undergoing extensive governmental reforms that included the establishment of an entirely new judicial system, Elahi enrolled in the newly formed National School of Jurisprudence.He finished a three-year curriculum in six months, and graduated with distinction in 1934.Elahi then began a 23-year legal career, with his first assignment as Justice of the Peace in Larestan County, Fars Province, and culminating in his appointment as Chief Justice of the Court of Appeals and the High Court of Criminal Appeals of Mazandaran Province.