First adopted as Azerbaijan’s anthem in 1919, a contest for a new national anthem was declared the following year, but a Russian invasion, ending Azerbaijan’s brief independence, ended that. On May 27, 1992, after the breakup of the Soviet Union, the “Azerbaijan Marsi,” was re-adopted as the anthem of Azerbaijan. The composer of the anthem was the same person that composed the music to the anthem used by the Azerbaijan SSR.
Special thanks to: Josh Lim for some of this information.