Born in Leningrad, then part of the Soviet Union, Putin studied law at the Saint Petersburg State University, graduating in 1975. Putin was a KGB foreign intelligence officer for 16 years, rising to the rank of Lieutenant Colonel before retiring in 1991 to enter politics in Saint Petersburg. He moved to Moscow in 1996 and joined President Boris Yeltsin’s administration, rising quickly through the ranks and becoming Acting President on 31 December 1999, when Yeltsin resigned. Putin won the subsequent 2000 presidential election by a 53% to 30% margin, thus avoiding a runoff with his Communist Party of the Russian Federation opponent, Gennady Zyuganov. He was re-elected President in 2004 with 72% of the vote.