He participated in most of Russia's military conflicts in the final decade of the Soviet Union, including the Soviet–Afghan War. From 1988 until 1991, General Lebed served as the commander of the 106th Guards Airborne Division, and later became the deputy head of the Russian Airborne Troops. The general also played a key role in ending the military phase of the conflict in Moldova between Transnistrian separatists and the Moldovan government in 1992, as the commander of the Russian 14th Army which intervened and occupied the region. Popular among the army, when he resigned his commission in 1995 to enter politics. Lebed was also regarded as being charismatic by the public, in contrast to other Russian politicians in the 1990s, with polls showing his popularity being ahead of Yeltsin's for some time. As the Secretary of the Security Council in the president's administration after the 1996 election he also led the negotiations that ended the First Chechen War.