Officials said the rioters also torched shops and attacked a streetcar ( tramway ) line .