Complex sentence: The hospital was closed on 1 October 2015, having been declared unfit for purpose on the same day Tees, Esk and Wear Valleys Foundation NHS Trust replaced Leeds and York Partnership NHS Foundation Trust as the provider of most mental health services in York.
Split into simpler sentences: The hospital was closed on 1 October 2015, having been declared unfit for purpose. On the same day Tees, Esk and Wear Valleys Foundation NHS Trust replaced Leeds and York Partnership NHS Foundation Trust as the provider of most mental health services in York.