TORONTO (AP) — Josh Sargent scored a go-ahead goal in the 86th minute to help Toronto FC beat D.C. United 2-1 on Wednesday night.

Sargent calmly slotted home a rebound for his ninth goal of the season after Theo Corbeanu’s shot bounced off the post. It was the ninth time this season Toronto has scored a tying or go-ahead goal in the final 10 minutes of a game.

Toronto (9-11-12), which finished its home schedule with a 6-2-9 record, needed the win after entering three points outside of a wild-card spot in the Eastern Conference.