BOSTON — The young Oklahoma City Thunder needed to beat just two more teams to reach their goal: wins against every club in their two seasons since moving from Seattle.

And not just any ordinary teams.

On Wednesday night, the Thunder completed the feat by edging the 2008 NBA champion Boston Celtics, 109-104. Just five days earlier they beat the other, the Los Angeles Lakers — last season’s champions.

“We’ve grown up,” said Kevin Durant, who scored 37 points and hit all 15 of his free throws against Boston. “It means a lot for us. It gives us confidence.”

Durant and Jeff Green, who hit two big 3-pointers in the last two minutes, were rookies in the last season in Seattle. Point guard Russell Westbrook, who had 21 points and 10 assists, joined them last season, and guard James Harden, who is averaging 9.9 points per game, is contributing as a rookie.

And now they’ve beaten the last two champs in a six-day span.

“Going into the week that was our battle cry,” Coach Scott Brooks said, “and both in the same week.”

Boston is among the NBA’s oldest teams. The Celtics’ starting five has an average age of 29.6, while the average for Oklahoma City’s starters is 23.2.

The Thunder won their 46th game, doubling their total from last season, and remained in sixth place in the Western Conference.

Boston, which was led by Kevin Garnett and Rasheed Wallace with 18 points each, fell out of a third-place tie in the East with the Atlanta Hawks, who beat the Lakers, 109-92.

Both teams played well offensively, and Garnett said the free-throw discrepancy may have been the difference. The Thunder outscored the Celtics 28-13 at the line, even though Boston was whistled for just four more fouls than Oklahoma City.

Garnett was particularly concerned about Durant’s 15 free throws.

“I thought we were playing Michael (expletive) Jordan the way he was getting the whistle,” Garnett said. “Durant damn near shot more free throws than our whole team.”

Boston went 13 of 17 from the line.

“I missed three last night in Philly” in a 111-93 Thunder win over the Philadelphia 76ers, Durant said. “I was a little upset with myself.”

The Celtics lost even though they made 59.5 percent of their shots.

“It’s a tough one to swallow. A team shoots 34 free throws to our 17 on our home floor,” Boston Coach Doc Rivers said. “I thought we were attacking and we just didn’t get to the line.”

Despite the loss, it was quite a change from the Celtics’ last game, a 94-73 loss to the San Antonio Spurs on Sunday night.

“The game the other night we played so bad. It happens,” Rivers said. “It’s tough when you play well and lose.”