What entity was responsible for Gorbachev's being elected?