Robert Frank Godec (born 1956) is an American career diplomat.
 He is a Career Minister in the Senior Foreign Service and since 2012 has been the United States Ambassador to Kenya.
 From 2006 to 2009 he was the United States Ambassador to Tunisia.
John Christopher Stevens (April 18, 1960 – September 11, 2012) was an American career diplomat and lawyer who served as the U.S. Ambassador to Libya from May 22, 2012 to September 11, 2012.
 Stevens was killed when the U.S. Special Mission in Benghazi, Libya, was attacked by militants on September 11–12, 2012.
Joseph Clark Grew (May 27, 1880 – May 25, 1965) was an American career diplomat and Foreign Service officer.
 Early in his career, he was the "chargé d'affaires" at the American Embassy in Vienna when the Austro-Hungarian Empire severed diplomatic relations with the United States on April 9, 1917.
William Henry Luers (born May 15, 1929) is a retired American career diplomat and museum executive.
 He is the director of the Iran Project.
 In addition to a thirty-one-year career in the Foreign Service, Luers has served as a U.S. Navy officer, as president of the Metropolitan Museum of Art in New York City, and as president of the United Nations Association of the United States of America.
 Luers is an adjunct professor at the School of International and Public Affairs at Columbia University.
Ahmed Abdel-Qader Ahmed Abu Ismail commonly known as Ahmed Abdel-Qader (Arabic: أحمد عبد القادر أحمد أبو إسماعيل‎ ‎ ; born 10 November 1968) is a Jordanian football manager and a former footballer who is the current assistant manager of Jordan national football team.
Charles T. "Chuck" Cross (May 4, 1922 – November 3, 2008) was an American career diplomat and ambassador who held many positions in American government around the world.
 He served as the U.S. Consul General in Hong Kong, 1974–77, and was the second United States Ambassador to Singapore, serving from 1969 to 1972.
 He served as the first Director of the American Institute in Taiwan from 1979 to 1981, a position which required his retirement from the Foreign Service.
 In his retirement he lectured at the University of Washington in Seattle.
Luigi R. Einaudi is an American career diplomat.
 He assumed the post of Acting Secretary General of the Organization of American States (OAS) in October 2004 upon the resignation of Secretary General Miguel Ángel Rodríguez.
Ahmed Abu Khattala (born 1971) is an incarcerated Libyan, who commanded a small militia during the 2011 uprising against Qaddafi.
 He participated in the 2012 Benghazi attack on the American diplomatic mission at Benghazi, in which Ambassador J. Christopher Stevens and three other Americans were killed.
Brigadier General Henry Alfred Byroade, (July 24, 1913 – December 31, 1993) of Indiana was an American career diplomat.
 Over the course of his career, he served as the American ambassador to Egypt (1955–1956), South Africa (1956–1959), Afghanistan (1959–1962), Burma (1963–1968), Philippines (1969–1973), and Pakistan (1973–1977).
Philip Charles Habib (February 25, 1920 – May 25, 1992) was an American career diplomat.
 Called one of the "pre-eminent career diplomats in American post-war history", he was best known for his work as Ronald Reagan's special envoy to the Middle East 1981–83.
 In that role he averted an Israel-Syria war and an Israel-PLO war in 1981, then negotiated a peaceful end to Israel's 1982 siege of Beirut.
 In 1986 he was instrumental in ending Ferdinand Marcos's attempt to steal the 1986 presidential election in the Philippines.
 As U.S. special envoy to Central America in 1986–87, he helped Costa Rican president Oscar Arias shape and sell the peace plan that led to the end of the region's civil wars.
 He had come out of retirement to take each of those assignments.
 During his 30-year career as a Foreign Service officer, he had mostly specialized in Asia.
 In 1968, he was instrumental in halting the escalation of U.S. involvement in Vietnam.
 After his death, "The New York Times" described him as "the outstanding professional diplomat of his generation in the United States."

Question: What was the official position of this American career diplomat who died during the attack in which Ahmed Abu Khattala participated in 2012?
Answer: U.S. Ambassador to Libya