Complex sentence: The building remained in operation until 2005 after witnessing the complex evolution of the healthcare system in England: after functioning as a workhouse, the building became a workhouse infirmary before being acquired by the Middlesex Hospital and finally falling under the NHS.
Split into simpler sentences: The building remained in operation until 2005 after witnessing the complex evolution of the healthcare system in England. After functioning as a workhouse, the building became a workhouse infirmary before being acquired by the Middlesex Hospital and finally falling under the NHS.