President Mohammad Khatami is barred from running for a third consecutive term .