Prior to the dissolution of the Soviet Union , Boris Yeltsin had been elected President of Russia in June 1991 in the first direct presidential election in Russian history .
In June 1991 , Boris Yeltsin was elected as the first president of Russia .