Diplomatic relations between the two nations started at the end of the Cold War, mainly with the dissolution of the Soviet Union in 1991.
[1][2][3] Safarov was pardoned upon returning to Azerbaijan, and was treated as a national hero: Safarov was promoted to the military rank of major, received an apartment, and was given back pay for his 8 years of imprisonment.
[4] Relatives of the murdered officer sued Hungary and Azerbaijan for violating Articles 2 (right to life) and 14 (prohibition against discrimination) of the European Convention on Human Rights.
European Court of Human Rights recognized governments of Hungary and Azerbaijan as respondents in this case.
[7] Diplomatic relations were restored on 2 December 2022 and now are considered as good and friendly.