Complex sentence: When the hospital first opened, the patients undertook the maintenance and upkeep of the asylum, along with other duties like cleaning and making beds; in later years, the farm was maintained by patients, who also looked after the gardens and grounds of the hospital.
Split into simpler sentences: When the hospital first opened, the patients undertook the maintenance and upkeep of the asylum, along with other duties like cleaning and making beds. In later years, the farm was maintained by patients would work on the farm, who also looked after the gardens and grounds of the hospital.