MEMPHIS, Tenn. (CBSDFW.COM/AP) — It wasn’t the most graceful shot ever taken, but NBA fans in Dallas could care less. Luka Doncic hit a leaning, lunging 3-pointer as time expired to give the Mavericks a 114-113 victory over the Memphis Grizzlies on Wednesday night.

Doncic ended the night with 29 points, while Kristaps Porzingis added 21 points. Dwight Powell had 12 points, shooting 6 of 7 from the field.

READ MORE: Day 2 Of The State Fair Of Texas Brings Visitors Fun, Football & Fried Food

But it was Doncic’s winning shot, falling down just beyond the 3-point line, that sent the Mavericks sprinting down the court as Doncic raised his arms and smiled. Officials reviewed the play, confirming the 3-pointer for Dallas’ win rather than sending the game to overtime.

“Honestly, I don’t remember,” Doncic said when asked if he got a good look at the rim. “I was kind of falling down. It’s kind of lucky, but we’ll take it.”

Mavericks coach Rick Carlisle could only express amazement at the ending of a game that was close between two teams jockeying for postseason positioning.

Luka Doncic #77 of the Dallas Mavericks reacts after scoring the game winning shot against the Memphis Grizzlies on April 14, 2021 in Memphis, Tennessee. (credit: Justin Ford/Getty Images)

“It certainly was quite a game,” Carlisle said. “A lot of ups and downs. The last play was amazing. You look at the last minute or so. In those situations, you pull off a miracle in a game like that once in a blue moon. It just doesn’t happen very often.”

Grayson Allen led the Grizzlies with 23 points, including matching his career-best with six 3-pointers. But the 90.6% free throw shooter missed a pair of foul shots with 2.2 second left, setting the stage for Doncic’s winning basket.

READ MORE: No Injuries Reported After Propane Tank Explosion At Texas Motor Speedway

Powell grabbed the rebound on Allen’s second miss, and the Mavericks called timeout with 1.8 seconds remaining. On the ensuing inbounds play, Doncic split Memphis defenders Jonas Valanciunas and Dillon Brooks, began stumbling behind the 3-point line and flipped up the shot that swished through the net.

“It came down to one great shot at the end by him,” Memphis coach Taylor Jenkins said.

The Mavericks, sitting in seventh place in the West, gave themselves a bit of a buffer with the victory – extending their advantage to 2 1/2 games over the eighth-place Grizzlies. But Memphis’ lead over Golden State in ninth and San Antonio in 10th is only one game.

Doncic, who struggled in the first half, scored 14 in the third quarter, but Memphis still maintained an 89-83 lead heading into the final period.

And while Memphis would increase the lead to six on several occasions in the fourth, the advantage wasn’t enough to prevent Doncic’s heroics.

“We’re happy with how we played tonight, up to 1.8 seconds,” Morant said. “All you can do is force somebody into a tough shot, and Luka made the tough shot. No reason to have our heads down or anything on how we played.”

MORE NEWS: Officials: 2 Missing Texas Kids Found Alive After Being Kidnapped By Registered Sex Offender

(© Copyright 2021 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.) Staff