The city has remained relatively safe during the war and sheltered many internally displaced Ukrainian refugees.