 During the Soviet era, after the end of the Second World War, mountain Jews were given an ancient building for religious needs in the center of the city.The condition of the building was very damaging, and those who worshiped here were suffering from unpleasantness.This situation continued until Azerbaijan gained independence.