Latvia reestablished its independence in 1991 following the breakup of the Soviet Union .