Kentucky guard Hamidou Diallo pulled out of the NBA Draft late Wednesday night but had he stayed, he likely still would have been a first round pick.

According to Brooklyn Nets insider Bryan Fonseca, who was the first to report Diallo was returning to Kentucky Tuesday, the Nets were poised to select Diallo at either No. 22 or 27.

Also, I have reason to believe the #Nets would've taken Diallo this yr assuming he was available at 22/27 (which was likely). #NBADraft — Bryan Fonseca (@BryanFonsecaNY) May 25, 2017

Get the latest UK news sent straight to your inbox with our EMAIL NEWSLETTER

A native of Queens, N.Y., Diallo worked out for the Nets May 18 as well as the Celtics, Bulls and Bucks. He pulled out of a scheduled workout for the Knicks Wednesday.

Without a pick in next year's draft, Diallo, who could play his way into the lottery after one season at Kentucky, would have made a lot of sense for Brooklyn as a high-upside late first round selection.