At least 50 residential buildings had been damaged in the attack, which also sparked a large-scale fire that spread to homes and a restaurant.