Wednesday night’s Golden State Warriors-Dallas Mavericks matchup was met with some controversy, and Luka Doncic made his sentiments known.

After a third-quarter timeout, the Mavericks thought they had possession of the ball, so all five players on the court went to one side of the court. However, it was actually The Golden State ball.

With the two teams on opposite ends of the court, the referee gave the ball to the Warriors’ Jordan Poole, who went under his own basket with no Mavericks around him.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Luka Doncic, #77 of the Dallas Mavericks, reacts on court in the second half against the Golden State Warriors at American Airlines Center on March 22, 2023 in Dallas, Texas. (Tim Heitman/Getty Images)

Poole sent a pass to Kevon Looney, who dunked it smoothly.

The Mavs lost the game, 127-125.

Doncic, along with other Mavs, was also attacked throughout the night with little whistles.

Doncic shared his discontent towards the end of the game, noting that the refs were being paid.

Well, that «inappropriate and unprofessional» gesture cost the superstar $35,000.

Doncic made the gesture with 1.7 seconds remaining in the game, shortly after he missed a contested layup that could have cut the deficit to one point.

The aforementioned free basket resulted in Dallas filing a protest of the game, as team owner Mark Cuban claimed that the refs had never notified his team that it had been a Golden State ball.

Luka Doncic, #77 of the Dallas Mavericks, dribbles the ball against Stephen Curry, #30 of the Golden State Warriors, on March 22, 2023, at the American Airlines Center in Dallas, Texas.

Luka Doncic, #77 of the Dallas Mavericks, dribbles the ball against Stephen Curry, #30 of the Golden State Warriors, on March 22, 2023, at the American Airlines Center in Dallas, Texas. ((Photo by Cooper Neill/NBAE via Getty Images))

NIKOLA JOKIC IS ‘TURNED OFF’ BY ‘DISBELIEF’ MVP DEBATE, SAYS NUGGETS COACH MICHAEL MALONE

«For those who are wondering about the play with 1:54 remaining to the end of the 3, I explain what happened», Cuban he tweeted after the game. «The umpire called the Mavs ball. The announcer announced it. Then there was a timeout. During the timeout, the umpire changed the call and never told us. Then when they saw us lined up like it was our ball, he just called the ball. ball to the warriors. They never said a word to us. They got an easy basketball. It’s crazy that it would matter in a 2 point game. Worst no-call officiating error possibly in NBA history. All they had to do was to tell us and they didn’t do it».

The Mavs were able to lead 117-115 with 3:52 to go, but Golden State pulled away late to clinch the road win.

Luka Doncic, #77 of the Dallas Mavericks, and Klay Thompson, #11 of the Golden State Warriors, battle for position in the first half at the American Airlines Center on March 22, 2023 in Dallas, Texas.

Luka Doncic, #77 of the Dallas Mavericks, and Klay Thompson, #11 of the Golden State Warriors, battle for position in the first half at the American Airlines Center on March 22, 2023 in Dallas, Texas.

CLICK HERE TO GET THE FOX NEWS APP

The two teams were separated by a half-game in the playoff race before Wednesday. With the win, the Warriors, for now, are the sixth seed while the Mavs are the ninth seed, requiring a play-in tournament appearance. The first six automatically go to the playoffs.