New Orleans Pelicans coach Alvin Gentry apologized for cursing in the NBA draft lottery room Tuesday night. But it was for good reason.

Gentry learned that the Pelicans won the right to draft Duke sensation Zion Williamson despite the team having just 6 percent odds to land the No. 1 pick.

"They started calling out the numbers. We obviously got this seed sheet, and I am trying to look through it and find out our numbers," Gentry said afterward. "I find the first number, then the second number and then the third, and I'm like, 'Oh s---.'

"The fourth one comes up, I try to look at all our combinations and then they said, 'The winner is the New Orleans Pelicans.' And I said, 'F--- yeah!' And then I said, 'Excuse me, I'm sorry.'"

Williamson, who averaged 22.6 points and 8.9 rebounds per game as a true freshman for Duke last season, sat in the front row when the draft lottery took place in Chicago.

The 2019 Associated Press College Basketball Player of the Year, Williamson was hoping to get selected by the New York Knicks, a source told ESPN's The Undefeated. The final four picks in the draft lottery came down to the Pelicans, Knicks, Los Angeles Lakers and Memphis Grizzlies. After it was announced the Pelicans landed the top pick, Williamson bolted out of the room without a verbal reaction.