 Five years later he graduated and went to the capital to attend the St. Petersburg Theological Academy.In 1903 he was ordained a hieromonk under the name Iliodor; two years later he graduated from the academy.There he met Father Gapon.