Complex sentence: She spent the last nine months of her life at his home, having been in frail health for a number of years.
Split into simpler sentences: She spent the last nine months of her life at his home. She was in frail health for a number of years.