ATLANTA — Tosaint Ricketts had a stoppage-time goal to lift Toronto FC to a 2-2 tie against league-leading Atlanta United on Saturday.

Edmonton's Ricketts punched home fellow Canadian Jonathan Osorio's cross in the 91st minute to level it for defending champion Toronto (6-11-5).

The result extended Toronto's unbeaten streak to five games in all competitions.

Josef Martinez scored twice for Atlanta to set an MLS record with 45 goals in his first two seasons.

Martinez passed Stern John (44, 1998-99) for most goals in his first two seasons. The Venezuelan striker has 26 goals this season, one short of the MLS record. Atlanta (14-4-6) has 10 games remaining.

Martinez tied it at 1-1 with a penalty kick in the 53rd minute after drawing the penalty against goalkeeper Alex Bono.

In the 67th, Martinez headed home Hector Villalba's diagonal cross to make it 2-1.

Sebastian Giovinco gave Toronto FC a 1-0 lead in the first minute of first-half stoppage time, finishing Auro's cross with a right-footed shot from the centre of the box.

Toronto travels to Vancouver to face the Whitecaps in the first leg of the Canadian Championship final on Wednesday.