LOUISVILLE, Ky. -- Louisville's last game left a lot of room for improvement, with guard Damion Lee looking to make amends for a subpar performance.
Facing No. 2 North Carolina offered plenty of motivation for Lee and the 19th-ranked Cardinals, who recovered from a loss with a performance they and a sellout crowd celebrated.
Lee scored 24 points, including two free throws with 8.3 seconds remaining, to help Louisville beat North Carolina 71-65 on Monday night ending the Tar Heels' 12-game winning streak.
After scoring just six points in Saturday's loss to then-No. 11 Virginia, Lee lifted the Cardinals to a hard-fought victory over the first-place Tar Heels by making 8 of 12 shots, including consecutive 3-pointers that helped provide a 55-50 lead with 9:35 remaining.
Chinanu Onuaku and Trey Lewis then combined for Louisville's next eight points, with Onuaku's three-point play making it 63-55 with 5:15 left and giving Louisville some needed breathing room with the Tar Heels hanging tough. Ray Spalding scored and Lewis followed with a big layup and then two free throws with 26 seconds left for a four-point lead.
The Tar Heels missed three shots before Onuaku came up with a rebound and Lee was fouled. The graduate transfer sealed the win by making two more at the free throw line as Louisville (18-4, 7-2 Atlantic Coast Conference) handed the Tar Heels (19-3, 8-1) their first conference loss.
"Knowing that I was the hot hand, it was just one of those things," said Lee, who made 4 of 7 3-point attempts. "It was just one of those things where I was confident. It was kind of like throwing the rock into an ocean. When I see the basket, I feel like I can get going."
Onuaku had 12 points and 10 rebounds -- his eighth double-double this season -- and Donovan Mitchell added 10 points. Lewis had nine for the Cardinals, who shot 53 percent in the second half and 43 percent overall.
"I thought our guys defensively and rebounding-wise, got up in a big time way," Louisville coach Rick Pitino said. "I'm real proud of them."
Louisville controlled the paint 36-28 and edged the Tar Heels 41-39 on the boards, with Onuaku's late grab looming large in a game where every possession was critical.
"Their zone made it difficult for us to get the ball inside to our big guys," North Carolina coach Roy Williams said. "We didn't move nearly as well as we needed to move inside and I think that was something that's really important as well."
The Cardinals obviously made some changes after Saturday's 63-47 loss to Virginia, when they shot a season-low 33 percent and committed 18 turnovers. Having Onuaku back in the starting lineup after being slowed by a stomach virus helped Louisville, though two first-half fouls limited his effectiveness.
He came up big in the second half despite two more fouls to help Louisville, which certainly needed to rebound against a North Carolina squad coming off a 27-point rout of Boston College and leading the ACC in scoring. And as it turned out, every rebound was important in keeping the Cardinals ahead in a rough-and-tumble game where baskets were hard to come by.
For a while, it looked like much of the offense would come at the free throw line with the Tar Heels' 12-of-15 accuracy helping somewhat offset their 29 percent first-half shooting. Marcus Paige particularly struggled, missing all five attempts from the field in the half before finishing with nine points.
Louisville was slightly better at 32 percent and somehow emerged with a 28-27 lead at the break despite trailing for much of the half. The Cardinals never trailed again and drew a little bit closer to North Carolina in the standings as a result.
North Carolina: Johnson led the Tar Heels with 11 rebounds. ... North Carolina fell to 2-1 against ranked teams this season.
Louisville: The Cardinals improved to 5-11 all-time against the Tar Heels but are 4-0 against them at home.
North Carolina: Visits Notre Dame on Saturday.
Louisville: Hosts Boston College on Saturday.