Complex sentence: From the late 17th century, it became the norm for troops to reside in barracks; officers, on the other hand, continued to be quartered among civilians right up until the fortress's demolition in 1867.
Split into simpler sentences: From the late 17th century, it thus became the norm for troops to reside in barracks. Officers, on the other hand, continued to be quartered among civilians up until the fortress's demolition in 1867.