Mr. Khatami was a key supporter of defeated presidential candidate Mir Hossein Mousavi in June elections .