Cuba legalized the dollar in 1993 in the face of an economic crisis sparked by the collapse of the Soviet Union .