Bill Streicher-USA TODAY Sports

Tyrese Maxey scored 27 points, Joel Embiid added 26 points and 10 rebounds and the host Philadelphia 76ers defeated the Brooklyn Nets 137-133 on Wednesday.

Embiid was just 6 of 18 from the field but hit all 13 free throws.

James Harden contributed 23 points, De'Anthony Melton had 19 points and three blocks and Tobias Harris chipped in with 18 points for the Sixers, who won their sixth in a row.

The Sixers were 35 of 36 overall from the free-throw line.

Seth Curry led the Nets with 32 points and Kyrie Irving added 30 points and 10 assists. Nic Claxton had 25 points, 11 rebounds and two blocks and Ben Simmons scored 12 points in his second game against his former team in Philadelphia. Simmons was booed by the fans throughout the game.

The game was tied at 41 at the end of the first quarter, marking the first time all season that both teams had scored at least 40 points in the opening 12 minutes.

The Sixers went ahead 69-58 with 4:22 left in the second when Harden threw a pass through Simmons' legs to Embiid for a layup.

In a high-scoring first half, the Sixers led 75-65 thanks in large part to Maxey's 16 points off the bench.

The game was tense throughout with five technical fouls, 18 personal fouls and 32 free-throw attempts in the first half.

Embiid converted a three-point play with 6:01 left in the third for a 94-77 advantage.

Simmons threw down an alley-oop dunk with 1:56 remaining and the Nets closed within 100-89. After an empty Sixers possession, Curry hit two free throws to slice the deficit to nine.

After the Sixers extended their lead to 14 early in the fourth, the Nets soon used an 8-0 run to get within 116-110 following Curry's trey from the corner.

Curry's 3-pointer with 4:06 to go tied the game at 120.

Harden responded with a trey for the Sixers.

After Claxton scored in the lane, Harden knocked down another 3-pointer for a 126-122 advantage.

When Maxey hit a trey from the wing with 1:40 left, the Sixers led 131-124.

Irving came back with a 3-pointer, Claxton added a dunk and the deficit was two.

More must-reads:

TODAY'S BEST
Insider provides major injury update on Celtics' Kristaps Porzingis
Watch: Bruins strike first in Game 6 with incredible backhand goal
Dodgers make series of moves involving notable players
Giants rookie CF to undergo season-ending labrum surgery
Hurricanes not expected to re-sign defenseman, center
Paul Skenes makes incredible Wrigley Field history in second-career MLB start
Maple Leafs tab former Stanley Cup winner as new head coach
NFL insider expands on competition between Steelers QBs Russell Wilson, Justin Fields
NFL sets outrageous prices for Eagles-Packers Brazil game
Scottie Scheffler shoots improbable 66 after warming up for PGA Championship in a jail cell
Nuggets star has worrying comment about latest injury
Broncos 'very unlikely' to bring back former NFL interceptions leader
Greg Olsen offers broadcasting advice to Tom Brady
Yankees' Juan Soto reacts to Hal Steinbrenner contract talk
Mets star has theory about closer Edwin Diaz's recent struggles
Scottie Scheffler arrested, still makes PGA Championship tee time
Timberwolves chew up Nuggets to force Game 7
Rangers secure spot in conference finals after stunning third-period comeback over Hurricanes
Xander Schauffele makes history in first round of PGA Championship
Yankees' Hal Steinbrenner shares massive Juan Soto contract update