Ban Ki-moon (; Hangul: bangimun; Hanja: Pan Ji Wen ; Korean pronunciation: [pan.gi.mun]; born 13 June 1944) is a South Korean diplomat who was the eighth Secretary-General of the United Nations from January 2007 to December 2016. Before becoming Secretary-General, Ban was a career diplomat in South Korea's Ministry of Foreign Affairs and in the United Nations. He entered diplomatic service the year he graduated from university, accepting his first post in New Delhi, India.

After graduating from university, Ban received the top score on Korea's foreign service exam. He joined the Ministry of Foreign Affairs in May 1970 and worked his way up the career ladder during the years of the Yusin Constitution. Ban's first overseas posting was to New Delhi, India, where he served as vice consul and impressed many of his superiors in the foreign ministry with his competence. Ban reportedly accepted a posting to India rather than the United States, because in India he would be able to save more money to send to his family. In 1974 he received his first posting to the United Nations, as First Secretary of the South Permanent Observer Mission (South Korea became a full UN member-state on 17 September 1991). After Park Chung-hee's 1979 assassination, Ban assumed the post of Director of the United Nations Division. In 1980 Ban became director of the United Nations' International Organizations and Treaties Bureau, headquartered in Seoul. He has been posted twice to the South Korean embassy in Washington, D.C. Between these two assignments he served as Director-General for American Affairs in 1990-92. In 1992, he became Vice Chairman of the South-North Joint Nuclear Control Commission, following the adoption by South and North Korea of the Joint Declaration of the Denuclearization of the Korean Peninsula. From 1993 to 1994 Ban was Korea's deputy ambassador to the United States. He was promoted to the position of Deputy Minister for Policy Planning and International Organizations in 1995 and then appointed National Security Advisor to the President in 1996. Ban's lengthy career overseas has been credited with helping him avoid South Korea's unforgiving political environment. Ban was appointed Ambassador to Austria and Slovenia in 1998, and a year later he was also elected as Chairman of the Preparatory Commission for the Comprehensive Nuclear-Test-Ban Treaty Organization (CTBTO PrepCom). During the negotiations, in what Ban considers the biggest blunder of his career, he included in a public letter a positive statement about the Anti-Ballistic Missile Treaty in 2001, not long after the United States had decided to abandon the treaty. To avoid anger from the United States, Ban was fired by President Kim Dae-jung, who also issued a public apology for Ban's statement. Ban was unemployed for the only time in his career and was expecting to receive an assignment to work in a remote and unimportant embassy. In 2001, during the 56th Session of the United Nations General Assembly, South Korea held the rotating presidency, and to Ban's surprise, he was selected to be the chief of staff to general assembly president Han Seung-soo. In 2003, incoming president Roh Moo-hyun selected Ban as one of his foreign policy advisors.

Using a quote from the above article, answer the following question: What did he do there?
he served as vice consul