in the stretch, down the stretch, in the homestretch

Meaning 1
in the final part of a race track between the last turn and the finish line
Sentence 1
The favorite horse was ahead by two lengths going into the stretch.
Meaning 2
in the final stages of an event, such as a business or political campaign
Sentence 2
Although the Democrats were ahead in the political campaign in August, the Republicans moved ahead in the stretch.