In October 1990, a rebellious parliament of the Russian Federation voted to appoint Kozyrev the foreign minister. After the failed Soviet coup attempt of 1991, he found himself in Yeltsin's team of young reformers, which included Yegor Gaidar and Anatoly Chubais, and shared their Western liberal-democratic ideals. He became Russian foreign minister at the age of 39 and gained and kept the confidence of Boris Yeltsin as Russia became an independent state and, in many ways, the successor to the Soviet Union. Kozyrev tried to make Russia a partner with the West in the formation of the post-Cold War world. He emphasized cooperation over conflict with the United States while insisting that Russia be treated as a great power in international politics rather than as a fallen superpower. He favored major arms control agreements with the United States and the nonproliferation of nuclear arms. He was also viewed by many as one of the most important voices for liberalism and democracy in post-communist Russia.