In the 1960s and 1970s, Khalili, who was fluent in Arabic, served as Afghanistan's ambassador to Saudi Arabia and Iraq.
During the 1960s and 1970s, Khalili, a fluent Arabic speaker, held the position of Afghanistan's ambassador to both Saudi Arabia and Iraq.