CHICAGO: The Phoenix Suns have won the No. 1 pick in next month’s NBA Draft.

The Cavaliers, who owned the Brooklyn Nets’ pick, did not move up and will draft No. 8.

Although Nick Gilbert, the son of Cavs owner Dan Gilbert, did not replicate his earlier luck as the Cavs’ representative, General Manager Koby Altman said he’s glad the wait is over.

“Finally we know where we are and it was nerve wracking, obviously, going through that process, but, we’re pretty comfortable where we are,” Altman said. “And the pick is still very valuable and this draft is from our process all year, we’ve realized how deep this draft is. We’re excited about the potential of this pick and the player we can get at eight.”

Altman said it’s too early to tell if the Cavs will keep or trade the pick during a summer that will be dominated by speculation surrounding the future of LeBron James.

“I think that’s part of the value of the pick and having a top-10 pick, and now that we know it’s eight, and of course I am going to go through my process of learning what it means for the rest of the league, but for us we have every intention of diving into who we can get in this draft and how it can help our team.” Altman said.

The draft is June 21 at Barclays Center in Brooklyn, before free agency starts.

Altman was asked if he would prefer free agency to start before the draft, especially considering the ramifications of James’ looming decision.

“I think it’s a great question,” Altman said. “It’s a philosophical question for the league as well. Do we want to flip-flop that? What comes first? It’s usually your situation as a team obviously. As a team, would it make more sense for us this year to know free agency before the [draft]? But for us, we’re going to go through our process and make the best decision we can for the franchise.”

It’s the first time the Suns will have the chance to make the first overall selection. The Suns had the right combination of pingpong balls pop up for them at the draft lottery on Tuesday night, a reward of sorts after a season where Phoenix had the NBA’s worst record at 21-61.

The Suns lost a coin flip for the top pick in 1969 to the Milwaukee Bucks. The Bucks took Kareem Abdul-Jabbar. The Suns took Neal Walk.

The Sacramento Kings will pick No. 2 and the Atlanta Hawks got the No. 3 pick — both of them moving up to get there. The top three spots were determined by the lottery, and then spots 4-14 fell in line of reverse order of record.

The rest of the slots, in order, went to No. 4 Memphis, No. 5 Dallas, No. 6 Orlando, No. 7 Chicago, No. 8 Cavs, No. 9 New York, No. 10 Philadelphia, No. 11 Charlotte, No. 12 and No. 13 Los Angeles Clippers, and No. 14 Denver.

Josh Jackson, who just completed his rookie season with Phoenix, represented the Suns on the stage for the public announcement of what was drawn in secret about an hour earlier. Only a handful of team representatives, NBA officials and media knew the outcome of the lottery before it was revealed publicly and they were all sequestered until the results were aired.

“Extremely excited,” Jackson said after the Suns were announced as the winner.

It’s part of a big week already for the Suns, who introduced Igor Kokoskov as their new coach Monday and now will have the chance to pick No. 1.

Arizona freshman Deandre Ayton is widely expected to be a strong candidate to go No. 1, and since he was at the lottery he now has a sense for how his immediate future might play out. Duke’s Marvin Bagley III was also in attendance, as was Oklahoma’s dynamic Trae Young and several of the other likely top picks.

Most will be participating in the draft combine, also happening in Chicago this week. Ayton declined an invitation to be involved with those workouts.

Ayton will have obvious local appeal to the Suns, as would Bagley — an Arizona native.

“It would mean a lot if it were to happen that way,” Bagley said.

The Kings had ab 18.3 percent chance of moving into the top three, and the Hawks’ move-up was really just a slightly bigger upset than a coin-flip — the Hawks came into the night with a 42.3 percent chance of getting picks 1, 2 or 3.

The lottery has been around since 1985, was tweaked to a weighted system in 1990 and will be changing again next year in an effort to discourage teams from tanking.

Going forward, the three teams with the worst regular-season records will all have 14 percent chances of winning the No. 1 pick, the fourth-worst team will have a 12.5 percent chance and the fifth-worst 10.5 percent. So there will still be a benefit to being bad, but the odds will be so similar among the bottom five teams — a 3.5 percent differential in the race for No. 1, instead of the 16.2 percent gap like this year — that the reward for losing might be lessened.

Beacon Journal sports writer Marla Ridenour contributed to this report.