MILWAUKEE (AP) -- Giannis Antetokounmpo won the scoring matchup, but Joel Embiid and the Philadelphia 76ers won the game.
Antetokounmpo poured in a career-high 52 points, yet Embiid had 40 points and 15 rebounds to lead the 76ers over the Milwaukee Bucks 130-125 on Sunday.
Antetokounmpo was 15 of 26 from the field, including 3 of 8 from 3-point range, and made 19 of 21 free throws to better his previous career best by eight points.
The 7-foot, 260-pound Embiid challenged his shots and trips into the paint.
''He's (Embiid) a tough guy,'' Antetokounmpo said. ''He's a great defender, strong. It was kind of hard going at him.''
The Sixers' defense shut down Antetokounmpo in the first two quarters. He was 5 of 13 from the floor and had 17 points and seven rebounds before going 10 of 13 from the floor and 14 of 16 from the line for 35 points in the second half.
''He carried us for most of that game, but not all of it,'' Khris Middleton said. ''He wreaked havoc in the paint. He got his 3-ball going early. He got into a great rhythm. He was special tonight. Unfortunately, we just didn't get the win for him on a career night.''
Embiid was up to the challenge of guarding Antetokounmpo.
''I thought we all did a pretty good job in the first half,'' Embiid said. ''In the second half, he kind of got going. He is tough to guard.''
Embiid and the Sixers weathered a late charge by Milwaukee to beat the team with the best overall record in the NBA (52-18) and the top home record (27-6). It was the fifth time this season Embiid scored 40 or more points and came in his fourth game back after missing nine straight with left knee soreness.
''They are the best team in the NBA right now, as far as record goes,'' Embiid said. ''No. 1 in our conference. I felt like we had to make a statement. We had to get this win.''
Jimmy Butler added 27 points, JJ Redick 19 and Tobias Harris 12 for the Sixers, near the top of the Eastern Conference standings at 45-15.
Milwaukee had a brief scare when Antetokounmpo was fouled on a driving layup and landed awkwardly late in the third. He got up favoring his right leg, but then sank one of two free throws.
Embiid scored 18 points and Butler had 14 in the fourth quarter. Antetokounmpo's three-point play pulled the Bucks to 118-114 with 1:18 to go, but Ben Simmons then tipped in Embiid's miss.
The Bucks got to 3 points twice in the closing seconds, but Embiid and Harris each made two free throws to seal the win.
Middleton had 19 points, Brooks Lopez 14 and Eric Bledsoe 12 for the Bucks.
Mike Scott hit a wide-open 3 to give the Sixers a 98-86 lead early in the fourth and force the Bucks to burn a timeout.
Scott also provided a fun highlight - late in the first quarter, he made a dive into the stands trying to save a loose ball. He landed in the second row, surprised a fan by taking a quick sip of her drink, and ran back on defense as play continued.
76ers: Philadelphia moved to a season-high 20 games over .500. . The Sixers had 21 second-chance points to the Bucks' 11.
Bucks: Nikola Mirotic started for Malcolm Brogdon, who is out with a minor plantar fascia tear in his right foot. Brogdon had started 64 of 69 games and is out indefinitely. ... Recalled F Christian Wood from the Wisconsin Herd.
MOMENT OF SILENCE
There was a pregame moment of silence for the victims and survivors of the New Zealand mosque attacks.
After using 20 different starting lineups, Philadelphia's current quintet of Butler, Harris, Embiid, Redick and Ben Simmons played together for just the seventh time and improved to 6-1.
''This was only our seventh game having everyone healthy,'' Redick said. ''Sixers 3.0 for this season. We are still trying to figure each other out, but to get a win like this on the road is huge.''
I CAN HEAR YOU
''There were a couple of middle fingers in the stands,'' Embiid said of the some of the sellout 18,148 spectators. ''I love playing with that. I love being on the road and people are going at me. I want to hear them. I want to hear them, keep doing it because it gets me going.''
76ers: Play at Charlotte on Tuesday.
Bucks: Host the Los Angeles Lakers on Tuesday.
More AP NBA: https://apnews.com/tag/NBA and https://twitter.com/AP-Sports