David Lough tripled to lead off the 12th inning and scored on J.J. Hardy's single as the Baltimore Orioles recovered after blowing a five-run lead to beat the Boston Red Sox 7-6 on Sunday.

Brad Brach (4-0) earned the victory with three innings of scoreless relief. He allowed one hit and one walk while striking out four. Zach Britton pitched the 12th for his 14th save.

Edward Mujica (2-4) worked a scoreless 11th before Lough lined a triple to the center field wall leading off the 12th. The next batter, Hardy, bounced one through the left side of the infield to give the Orioles the lead.

Hardy and Nelson Cruz each had three hits for Baltimore, which has won six of seven. Cruz had five hits Saturday in the second game of a day-night doubleheader and hit safely in seven straight at-bats before flying out in the fifth.