 The national presidential elections with 7 candidates were held on 7 June 1992 in which Elchibey was elected the President of Azerbaijan, gaining 54% of votes and becoming Azerbaijan's first democratically elected, non-communist president.During the summer of 1992, Elchibey secured the full withdrawal of the Soviet army from Azerbaijan, which became the first and only former Soviet republic (after the Baltic states) free of Soviet military presence.At the same time, Elchibey's government established the national Caspian Navy and managed to reach an agreement with Russia on receiving one-quarter of the Soviet Caspian Navy based in Baku.