Complex sentence: Though the walls may have provided security from invasion, they led to a different problem; a large concentration of wooden houses (with fireplaces) was the cause of many devastating fires.
Split into simpler sentences: Though the walls may have provided security from invasion, they led to a different problem. A large concentration of wooden houses with fireplaces was the cause of many devastating fires.