07/19/2015 10:17 EDT | Updated 07/19/2016 05:59 EDT

Canada wins wild baseball gold-medal game over U.S.

A botched pick off and two American errors in the bottom of the 10th led to two runs as Canada's men's baseball team edged the United States 7-6 on Sunday to defend its Pan American baseball title.

U.S. pitcher David Huff tried to pick off Pete Orr at first base, but his throw went into right field to score Skyler Stromsmoe. The right-fielder's throw to third then went wide, allowing Orr to score the winning run as the Canadians beat the Americans for Pan Am gold for the second straight Games.

The international tie-breaker was put in place in extra innings, meaning each team begins the frame with runners on first and second.

The U.S. had taken a 6-4 lead in the top of the 10th with Tyler Pastornicky's two-run single off Chris Leroux.

Orr cut the deficit to 6-5 when his single off Huff scored Tyson Gillies.

Rene Tosoni hit a three-run shot for Canada and Jordan Lennerton had a sacrifice fly for his team-leading ninth run batted in of the tournament.