Complex sentence: It received its current name during the Napoleonic wars, when it served as a barracks for French soldiers; afterward, it reverted to the local ironworking industry and housed workers and their families.
Split into simpler sentences: It received its current name during the Napoleonic wars, when it served as a barracks for the French soldiers. Afterwards, it reverted to the local ironworking industry and housed workers and their families.