Democratic presidential candidates Hillary Clinton and Bernie Sanders shake hands before a debate last month in Miami. (AP Photo/Wilfredo Lee)


MILWAUKEE — After days of posturing, the Democratic campaigns of Hillary Clinton and Bernie Sanders agreed Monday to hold a debate in New York in advance of the high-profile April 19 primary there.

The former secretary of state and senator from Vermont will face off in Brooklyn on the evening of April 14, according to CNN, which is hosting the debate. Representatives of both campaigns confirmed their intentions to participate.

The announcement did not put an end to the squabbling that’s taken place over the past several days. Sanders’s campaign immediately put out a news release noting that it had decided to reschedule a large-scale rally that night to accommodate Clinton.

“Fortunately, we were able to move a major New York City rally scheduled for April 14 to the night before,” Sanders spokesman Michael Briggs said in the release. “We hope the debate will be worth the inconvenience for thousands of New Yorkers who were planning to attend our rally on Thursday but will have to change their schedules to accommodate Secretary Clinton’s jam-packed, high-dollar, coast-to-coast schedule of fundraisers all over the country.”

Earlier in the day, New York Mayor Bill de Blasio, a Clinton supporter, took to Twitter to make clear that he would help Sanders secure a needed permit to change the night of the rally in a city park.

Brooklyn has significance for both campaigns. Sanders grew up there. Clinton has her national headquarters in the borough, and she spent two terms as a U.S. senator representing New York.

CNN said its anchor Wolf Blitzer will moderate the debate and that the network is partnering with Time Warner Cable News NY1.

The agreement came on the eve of Tuesday’s Democratic primary in Wisconsin.

Anne Gearan contributed to this report from New York.