Blas Perez scored during a scramble in front of the goal in the first minute of second-half stoppage time Tuesday night, giving Panama a 1-1 draw with Canada and clinching first place in its Gold Cup group.

Panama has seven points in Group C while Canada has three. The Canadians needed Guadeloupe to upset the United States in Tuesday's late match to avoid elimination.

Dwayne De Rosario converted a penalty kick in the 62nd minute for Canada, which would have secured a quarterfinal berth with the win.

Panama, which played back and counterattacked for the first 60 minutes, turned up the pressure late in the match and missed several good chances before finally forcing the draw.

Perez's goal came after Gabriel Gomez's shot was blocked. The ball bounced around in front of the goal, and Perez poked it in for the equalizer.

Canada, needing all three points to guarantee a spot in the knockout stage, came out pressing hard from the first kick. After several close misses in the first half, the pressure finally paid off when De Rosario was fouled in the area by Eybir Bonaga.

DeRosario stepped to the spot, got Panamanian keeper Luis Mejia to go the wrong way and put a low drive into the left corner of the goal.

It was the first goal scored at the new Livestrong Sporting Park, home of Major League Soccer's Sporting Kansas City.