A wild night at Fenway came to a close with Houston scoring four times in the top of the 10th inning to down the Sox, 12-8.

The contest had five lead changes and three ties as the two sides combined for 28 hits and 20 runs.

Trailing 2-0, the Astros rallied for five runs in the fourth off Justin Masterson, who failed to make it through the frame. Masterson exited after 3.2 innings and was charged with five runs on eight hits in the no-decision.

Hanley Ramirez got the Sox on the board with a 445-foot homerun in the second inning and David Ortiz keyed a pair of rallies with both his head and his bat. Papi went 2-for-3 with 2-RBI at the plate and broke up a double play in the fifth when Jose Altuve's throw deflected off Ortiz's helmet and ricocheted into the crowd, allowing the tying run to score.

Houston's finish was aided by two Boston blunders. Mookie Betts was thrown out on an attempted steal in the eighth inning and a Mike Napoli error opened the floodgates in extras. Noe Ramirez pitched the 10th for Boston and took the loss in his MLB debut allowing four hits, two earned runs, and hitting a batter.

The Sox will look to rebound vs. Houston when Clay Buchholz takes the mound for an Independence Day matinee at 1:35 p.m. on Saturday.