Switzerland recognised Afghanistan in 1922, five years after Afghan independence, and the two states established diplomatic relations in 1928.
Switzerland maintained diplomatic relations with the government installed by the USSR after the invasion of Afghanistan in 1979, while repeatedly condemning the Soviet occupation. It also continued to support the ICRC's work on behalf of the war victims.
Following the Taliban's takeover in 1996, Switzerland broke off official contacts with the government but maintained diplomatic relations. In 2000, it joined in the UN sanctions against the Taliban regime.
Historical Dictionary of Switzerland: Afghanistan (de, fr, it)
Diplomatic Documents of Switzerland, Dodis