The sentence is ambiguous. Since a part of the city was reduced to a pile of rocks/wood etc (by the fire), it probably makes sense to think that the "it" refers to the pile but we can't be sure.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.