In December 1991, Mexico recognized the independence of Azerbaijan from the Soviet Union, and diplomatic relations were established the following month. In 2009, Azerbaijan established diplomatic missions on Mexican soil. In 2011, the Mexican Senate recognized the 1992 Khojaly massacre, where ethnic Azerbaijani civilians were killed in Khojaly, in the "de facto" independent Republic of Artsakh, by Armenian forces.