NEW ENGLAND — New England’s offense put together a productive first half and held the Colts to just seven points and four first downs while dominating in the second half to win the game in overtime.

The Patriots, who went up 2-0 late in the fourth quarter, went on to win for the fifth time in their last six games and a 17th straight victory over Indianapolis.

New England took a 21-14 lead at halftime, but the Colts tied it on a 4-yard field goal with 2:08 left in the third quarter.

After running out the clock with 5:46 left in regulation, Tom Brady threw an interception with 0.5 seconds left to give the Patriots a one-point lead.

Brady completed a 3-yard pass to Danny Amendola with 1:02 left to send the game to overtime.

Indianapolis came back with a field goal, and the Patriots drove down the field for the winning score.

Patriots coach Bill Belichick praised his team’s play for a second straight day.

“We were a lot better than we were yesterday,” Belichick said.

“We played a lot more physical.

We moved our guys around.

We played with more urgency.”

Brady finished 11 of 15 for 145 yards with three touchdowns and no interceptions.

The Patriots are 5-0 against the Colts this season.

The win snapped a three-game losing streak against the AFC South divisional-rival Colts.

They had won four straight at home before Sunday.

Indianapolis, which had won six of seven overall, dropped to 5-5 overall.

The Colts have lost three straight and four of five against New England, which have not lost at home since 2011.

They are 3-7 in games against the Patriots.

This is the fourth overtime game in the Patriots’ past five against Indianapolis.

They beat Indianapolis in the regular season in 2013, 2014 and 2015.

The team that won the AFC East last season is 3-2 against the Pats this season, and Indianapolis is 5-4 overall.

Brats father, Tom, is the Colts owner.