 He went on to work in several capacities at the UN Headquarters including serving as the Under-Secretary-General for peacekeeping between March 1992 and December 1996.He was appointed the Secretary-General on 13 December 1996 by the Security Council, and later confirmed by the General Assembly, making him the first office holder to be elected from the UN staff itself.He was re-elected for a second term in 2001, and was succeeded as Secretary-General by Ban Ki-moon on 1 January 2007.