DETROIT — Nelson Cruz homered and Bud Norris struck out six in 6 1/3 scoreless innings as the Baltimore Orioles completed a three-game sweep of the Detroit Tigers, 2-1 in their American League Division Series Sunday.

Norris (1-0) got the nod over Miguel Gonzalez and scattered two hits and two walks for the Orioles, who will take on either the Los Angeles Angels or Kansas City Royals in the AL Championship Series. Cruz’s two-run blast was his eighth in nine career postseason games against the Tigers and helped lead Baltimore to its first ALCS appearance since 1997.

David Price (0-1) was the tough-luck loser after allowing two runs on five hits and a pair of walks in eight innings for Detroit, which will miss out on a fourth straight trip to the ALCS. Victor Martinez and J.D. Martinez led off the ninth with back-to-back doubles to get the Tigers on the board before a strikeout, an intentional walk and a double play ended the game.

Adam Jones singled with one out in the sixth and Cruz followed by reaching out for a 1-1 changeup and slicing it down the line in right field, just over the low fence and inside the foul pole for a two-run homer. Andrew Miller took over for Norris in the seventh and retired the next five before Zach Britton gave up a run, but the closer got the double play he needed in the ninth for his second save of the series.

Giants 2, Nationals 1

Pablo Sandoval’s RBI double with two outs in the ninth inning forged a tie before Brandon Belt homered to lead off the 18th as visiting San Francisco won the longest postseason game in major-league history to seize a 2-0 advantage in its National League Division Series.

After going 0-for-6 with two strikeouts, Belt made amends in the final frame by depositing a 3-2 fastball from Tanner Roark (0-1) into the upper deck in right field. Rookie Hunter Strickland retired the side in the bottom of the frame to notch the save and make a winner of Yusmeiro Petit (1-0), who allowed one hit and struck out seven over six scoreless relief innings.

Sandoval’s timely double extended his postseason hitting streak to 13 games — two shy of the NL record. Buster Posey collected three hits and Tim Hudson struck out eight over 7 1/3 solid innings for the Giants, who vie for their NL-best 11th straight postseason victory when they host Game 3 on Monday.

Jordan Zimmermann retired 20 straight batters and exited after 8 2/3 innings while Anthony Rendon ripped an RBI single among his four hits for NL East-champion Washington. Asdrubal Cabrera doubled and scored in the third inning before being ejected in the 10th.

After tossing the first no-hitter in Nationals history during the regular-season finale, Zimmermann breezed through San Francisco’s lineup before issuing a two-out walk to rookie Joe Panik in the ninth. Drew Storen relieved Zimmermann and promptly allowed a single by Posey before Sandoval slapped an 0-1 sinker into the left-field corner — allowing Panik to score easily before Posey was gunned down at the plate on a relay throw from shortstop Ian Desmond.