Paul Pierce blocked Kyle Lowry's shot from the lane on the final play of the game, and the Brooklyn Nets held off the Toronto Raptors 104-103 in Game 7 on Sunday to advance to the second round of the playoffs.

The Nets will begin the conference semifinals at Miami on Tuesday night to play the two-time defending NBA champion Heat.

Leading by one point, Brooklyn used its final timeout after failing to inbound the ball. On the second opportunity, Shaun Livingston tried a lob pass to Pierce but Terrence Ross got a hand on the ball, then knocked it off Pierce and out of bounds for a turnover.

Toronto used a timeout and gave the ball to Lowry, whose driving shot was blocked by Pierce as time expired. Lowry lay prone in the key as the Nets surged onto the court in celebration.

Joe Johnson scored 13 of his 26 points in the fourth quarter to lead the Nets. Marcus Thornton scored 17, Kevin Garnett had 12 points and 11 rebounds for his first double-double of the series and Deron Williams scored 13 points.

Amir Johnson fouled out with 20 points and 10 rebounds for Toronto, which trailed by 10 points with just over six minutes remaining before storming back and having a chance to win it at the buzzer.