During the Soviet era, the city was off-limits to foreign visitors, and much of what happened there remained classified.