Tajikistan became independent in 1991 following the breakup of the Soviet Union , and experienced a civil war between regional factions from 1992 - 97 .