HOUSTON — J.D. Martinez and Rafael Devers helped the Red Sox have a grand old time in Houston.

Boston became the first team to slug two grand slams in a postseason game, with Martinez and Devers connecting in the first two innings of a 9-5 win over the Astros on Saturday that tied their AL Championship Series at one game apiece.

Martinez made it 4-0 with his opposite-field shot off rookie Luis García with two outs in the first. It was the first career playoff slam for the four-time All-Star, who began his career with the Astros.

García exited with right knee discomfort after walking the first batter of the second inning. Jake Odorizzi took over, and shortly after a 13-minute delay while the right-hander warmed up on the field, Devers connected with one out for slam No. 2.

Game 3 is Monday night in Boston. It’s the first of three consecutive home games for the Red Sox, back in the playoffs for the first time since winning the 2018 World Series after downing Houston in the ALCS.

The Red Sox were up 9-0 when Houston got on the board with an RBI double by Kyle Tucker with two outs in the fourth. The Astros cut the lead to 9-3 when Yuli Gurriel followed with single to right field that scored two more.

Gurriel and Jason Castro added solo homers in the ninth off Darwinzon Hernandez before Ryan Brasier got the final out.