Josef Martínez scored two goals in second-half stoppage time to help Atlanta United beat Minnesota United 3-0 on Wednesday night.

Atlanta (7-5-2) ended a two-game losing streak with its sixth win in eight games. Minnesota (6-5-3) had its two-game winning streak snapped.

Martínez has eight goals this season, six in the last seven games. He beat two defenders on a breakaway in the first minute of stoppage time and capitalized on an errant defensive header to win a one-on-one opportunity with goalkeeper Vito Mannone.

Minnesota United goalkeeper Vito Mannone dives as Atlanta United defender Franco Escobar (2) gets a shot past him to score during the first half of an MLS soccer match Wednesday, May 29, 2019, in Atlanta. (AP Photo/John Amis)
Minnesota United goalkeeper Vito Mannone dives as Atlanta United defender Franco Escobar (2) gets a shot past him to score during the first half of an MLS soccer match Wednesday, May 29, 2019, in Atlanta. (AP Photo/John Amis)

Atlanta took a 1-0 lead in the 23rd minute on Franco Escobar’s first goal of the season.

Atlanta goalkeeper Brad Guzan had a wild multi-save sequence in the 74th minute. He finished with his seventh shutout of the season.

Atlanta United midfielder Eric Remedi (11) and Minnesota United midfielder Jan Gregus compete for a header during the first half of an MLS soccer match Wednesday, May 29, 2019, in Atlanta. (AP Photo/John Amis)
Atlanta United midfielder Eric Remedi (11) and Minnesota United midfielder Jan Gregus compete for a header during the first half of an MLS soccer match Wednesday, May 29, 2019, in Atlanta. (AP Photo/John Amis)
Atlanta United goalkeeper Brad Guzan makes a save as Minnesota United forward Abu Danladi (99) leaps over him after a shot during the first half of an MLS soccer match Wednesday, May 29, 2019, in Atlanta. (AP Photo/John Amis)
Atlanta United goalkeeper Brad Guzan makes a save as Minnesota United forward Abu Danladi (99) leaps over him after a shot during the first half of an MLS soccer match Wednesday, May 29, 2019, in Atlanta. (AP Photo/John Amis)