Complex sentence: When they entered the stretch, she appeared to be fading as her lead shrank to only one length, but she rallied in the final furlong to win by lengths.
Split into simpler sentences: When they entered the stretch, she appeared to be fading as her lead shrank to only one length. But in the final furlong, she rallied to win by lengths.