Before the dissolution of the Soviet Union, Azerbaijan participated in the union-wide referendum as the Soviet Union was being reformed into a looser federation while Estonia boycotted the referendum. The latter did not happen as a result of the coup in August 1991.