MILWAUKEE (AP) -- Brandon Jennings hit a 3-pointer at the buzzer to give the Milwaukee Bucks a 105-102 victory over the Cleveland Cavaliers on Saturday night.
The referees used video replay to confirm the shot left Jennings' hand with one-tenth of a second left on the clock.
Mike Dunleavy had 29 points, 12 rebounds and six assists for Milwaukee.
Kyrie Irving scored 27 points for Cleveland, tying the game with seven-tenths of a second remaining on a driving layin over Ersan Ilyasova.
Dunleavy then inbounded from the top of the 3-point line to Jennings, who hit the winning shot and celebrated by joyously running the length of the court to his teammates.
The Bucks (2-0) used a late 12-2 run to take overtake Cleveland (1-2), which was opening a six-game road trip.
Milwaukee took a 102-95 on the late run, but Irving converted a three-point play and hit a pair of free throws to bring Cleveland within 102-100 with 33.6 seconds to go.
Jennings then missed a running jumper with 10 seconds left, but the ball went off Cleveland's Anderson Varejao out of bounds with a tenth of a second left on the shot clock.
Dunleavy inbounded to Jennings who scored on a quick jumper but referee Kevin Fehr waived it off as a shot clock violation. The call was confirmed during video replay and Cleveland took possession with 9.2 seconds to go.
Irving then used a pick by Varejao to get around Jennings and lifted a high shot over Ersan Ilyasova to tie the score a 102 with seven-tenths of a second to go.
Jennings scored 13 points and had 13 assists. Larry Sanders had a career-high 17 points before fouling out late in the game.
Milwaukee coach Scott Skiles said during the preseason he wanted Dunleavy coming off the bench to ensure some scoring when the second unit was playing. The veteran forward made 10 of 12 shots, including six of seven 3-pointers, in 35 minutes to lead the Bucks to a 2-0 start after the team missed the Eastern Conference playoffs a year ago.
Milwaukee beefed up its roster during the off-season by drafting John Henson, and acquiring Samuel Dalembert and Joel Przybilla to bolster its inside defense. But with Henson out due to injury and Dalembert and Przybilla playing limited minutes, Varejao was able to dominate in the post, scoring 20 points on 10 of 13 shooting while grabbing 17 rebounds.
Dunleavy hit a pair of 3-pointers to give the Bucks a 76-74 lead with 1:40 left in the third quarter. Donald Sloan made a 3-pointer with 3.2 seconds to go, giving Cleveland a 79-76 lead after three quarters.
Ellis made 7 of 10 shots in the first half and scored 16 points as Milwaukee led, 55-49, at halftime.
Tyler Zeller hit a 17-foot jumper with 20.8 seconds to go in the first quarter to give Cleveland a 27-23 lead after one quarter.
Notes: Przybilla made his season debut in the second quarter and was whistled for a technical foul for arguing after playing only 2 minutes. . Gee scored nine points in the first 4:34 of the game. . North Carolina coach Roy Williams was sitting courtside at the game. Cleveland's Zeller and the Bucks' Henson both attended UNC. . Henson is out with a sprained left knee, but may return Wednesday when the Bucks host Memphis.