It achieved independence upon the dissolution of the USSR in 1991 .