OAKLAND, Calif. (AP) — Golden State coach Steve Kerr figured his team was due for an off night after four consecutive blowout wins.

Fortunately for the Warriors, it happened at Oracle Arena, where they haven’t lost in more than two months.

Stephen Curry had 22 points and 11 assists, Klay Thompson scored 31 points and Golden State beat the Boston Celtics, 114-111 on Sunday night.

“This is the point in the schedule where it gets really difficult to get up emotionally night after night,” Kerr said. “For the most part we did our job. We just didn’t have a lot of life and legs. It was a night where everybody had to fight through.”

The Warriors have won 19 consecutive home games for the longest active home streak in the NBA. Their last loss at Oracle was 113-100 to San Antonio on Nov. 11.

The Celtics trailed by 10 with 36.3 seconds remaining but closed to 112-109 on Jared Sullinger’s layup with 4.6 seconds left.

Thompson, who scored a career-high 52 points against Sacramento on Friday, calmly made two free throws to seal the win.

Andrew Bogut added 13 points and 13 rebounds and Draymond Green had 14 points to help the Warriors to stay unbeaten in 14 games against the Eastern Conference this season. Golden State also improved its NBA-best record to 36-6.

Sullinger had 26 points and nine rebounds for Boston. The Celtics have lost four of six.

“I thought we did as good a job as you can do probably in half court,” Boston coach Brad Stevens said. “We gave ourselves a chance a lot of the time … but it’s hard to guard them for 48 minutes and score on them.”

The Celtics trailed by as much as 10 in the second quarter but closed to 51-49 on back-to-back buckets by Tyler Zeller.