(CNN) CNN will conduct a live draw to determine which night each candidate will appear in the highly anticipated Democratic presidential primary debates airing later this month on the network.

Dana Bash, Don Lemon and Jake Tapper will moderate the Democratic National Committee-sanctioned debates over two nights, July 30-31, from Detroit, said a network spokesperson. Both nights will air live exclusively on CNN and CNN en Español. The debates will also be simulcast on CNN International.

CNN's Debates will also stream live without requiring log-in to a cable provider, exclusively to CNN.com, CNN's apps for iOS and Android and via CNNgo apps for Apple TV, Roku, Amazon Fire, Chromecast, and Android TV.

The draw to determine the lineup for each night will air live on July 18 in the 8 p.m. ET hour on CNN, said the network spokesperson, who noted additional details of the draw will be released in the coming days.

More than 20 Democratic candidates are vying for their party's presidential nomination, but pre-established qualifying rules state only 20 candidates, split across two nights, are eligible to participate. Candidates must either register 1% support in three qualified polls or have 65,000 unique donors to their campaign, with a minimum of 200 different donors per state in at least 20 states to qualify.

The 20 candidates invited to participate in one of the July debates will be notified by the DNC and CNN on the evening of July 17. The draw to determine placement will occur the next night.

As the race for the Democratic nomination tightens, the debate offers the presidential hopefuls a chance to make their case to a vast national television audience and engage directly with their opponents.

The fight to take on President Donald Trump in 2020 tightened significantly following June's Democratic presidential debates held in Miami and hosted by NBC. Former Vice President Joe Biden's lead over the field shrunk to a narrow 5 points, and Sens. Kamala Harris of California and Elizabeth Warren of Massachusetts made steep gains, according to a CNN poll conducted by SSRS.

Harris, who dominated the stage on the second night of the first debate and criticized Biden over race and school busing, is surging both nationally and in Iowa, according to two post-debate polls.

The debate will come shortly after Robert Mueller is expected to testify publicly before the House Judiciary and Intelligence Committees. Mueller, former special counsel for the Justice Department and former director of the FBI, delivered a report to DOJ after spending nearly two years investigating Russian interference in the 2016 election.

Mueller's highly anticipated testimony comes as an increasing number of lawmakers, including some 2020 candidates, are calling for an impeachment inquiry to begin against the President. Democrats are split on how to handle the issue, with House Speaker Nancy Pelosi opposing impeachment proceedings but an outspoken progressive bloc of the party calling for a tougher stance to be taken against Trump.

The CNN debate brings the Democratic candidates to the battleground state of Michigan, which Trump won in 2016.

A total of 12 presidential primary debates are planned during the 2020 election cycle. Six debates will be held in 2019, and the other six will be held in 2020.