SECAUCUS, N.J. -- The Arizona Diamondbacks selected slugging Vanderbilt shortstop Dansby Swanson with the No. 1 pick in the Major League Baseball draft on Monday night.

Swanson, who helped lead the Commodores to the College World Series earlier in the day, is the first college shortstop to be chosen with the top selection in the draft since Brown University's Bill Almon in 1974.

The pick at MLB Network studios marked the first time the Diamondbacks had the No. 1 selection since they took Justin Upton in 2005. It's the 50th anniversary of the first draft in 1965, and the first for new Commissioner Rob Manfred.

Mississauga, Ont., high schooler Josh Naylor was selected 12th overall by the Miami Marlins. The 17-year-old first baseman has been a standout on the junior national team for the last few years.

Blue Jays prospect Dalton Pompey, also of Mississauga, tweeted out a congratulatory message to Naylor moments after the selection was announced.

"That's huge! Making Mississauga and Canada proud! All the best," Pompey wrote.

With the second pick, Houston took LSU's Alex Bregman -- marking the first time shortstops have gone with the first two selections since Shawon Dunston (Cubs) and Augie Schmidt (Blue Jays) were drafted in 1982. The Astros, who also select fifth, received the pick as compensation for not signing pitcher Brady Aiken, last year's No. 1 overall pick.

Swanson seamlessly switched from second base to shortstop this season as a junior. He was the College World Series' Most Outstanding Player last year, helping the Commodores to the national championship.

Swanson is a finalist for the Golden Spikes Award and Howser Trophy, given to college baseball's top player. He also is the first shortstop -- college or high school -- to go No. 1 since Houston took Carlos Correa of the Puerto Rico Baseball Academy in 2012. Correa was set to make his major league debut Monday night, just more than three years to day after he was drafted.

Bregman is the offensive leader of an LSU team that will play in the College World Series and has been ranked No. 1 in the country in several polls for most of the season. The Golden Spikes Award finalist is hitting .312 with nine homers and 49 RBIs, and has stolen 37 bases.

Bregman has shown good patience at the plate, striking out just 20 times in 239 at-bats. He has also improved defensively in each of his three seasons at LSU, and could remain at shortstop in the pros.