Mr. Ahmadinejad was elected earlier this year on a hard-line platform that called for a return to conservative principles .