Complex sentence: Caernarfon Castle is divided into an upper and lower ward, the lower ward containing royal accommodation, the upper service facilities and the accommodation for the garrison.
Split into simpler sentences: Caernarfon Castle is divided into an upper and lower ward. The lower ward contained royal accommodation, while the upper consisted of service facilities and the accommodation for the garrison.