After a lot (A LOT) of bickering, Hillary Clinton and Bernie Sanders have finally agreed to hold a Democratic debate in New York ahead of a pivotal Empire State primary. The debate will be held at the Brooklyn Navy Yard on April 14.

Over the weekend, the two campaigns were squabbling over the logistics. Michael Briggs, a spokesman for Sanders, scoffed at the Clinton camp's suggestion of an April 14 debate and accused them of "playing games. Sen. Sanders has proposed debates on four days before the New York primary election. He is available on April 10, 11, 12 or 13. He looks forward to a debate on any of those days. Does she really have fundraisers on each of those nights? The Clinton campaign disingenuously announced that it had agreed to a debate on a day when it knew very well that Sen. Sanders already had locked in park permits for a major rally in New York City. Let’s get serious. Let’s stop the silly political games. Let’s get on with debating the candidates’ stands on serious issues affecting New York and the United States."

Perhaps after seeing the success of free Bernie-flavor Ben & Jerry's ice cream in Washington Square Park, Team Sanders had planned a rally there for April 14. But then Mayor and Hillary supporter Bill de Blasio got involved:

Let's make @NY1 4/14 BKLYN debate happen. @BernieSanders: I'll help you secure any permit you need to ensure your NYC rally can happen too. — Bill de Blasio (@BilldeBlasio) April 4, 2016

Now Briggs says, "We are glad that she finally has agreed. Sanders all along has pressed for a debate on television in prime time so the greatest number of New Yorkers and Americans may listen to the candidates and decide for themselves who has the best ideas about how to reform our rigged economy and the corrupt campaign finance system. It's great for the people of New York that there will be a debate in Brooklyn, something that the Clinton campaign has long opposed."

Referring to the rally, which is now on April 13, Briggs added, "Fortunately, we were able to move a major New York City rally scheduled for April 14 to the night before. 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."

Sanders's Bronx rally attracted a huge, diverse crowd of 18,500 last week. His campaign only opened a New York office on March 26. Clinton's campaign has been headquartered in downtown Brooklyn.

Politico reports, "Negotiations between the campaigns and the Democratic National Committee continued until minutes before the debate was announced, a source familiar with the discussions said. Sanders did not want the New York State Democratic Party to be a cosponsor of the debate, a source told POLITICO. The Sanders campaign, in general, has resisted the involvement of party organizations, which often back Clinton. The New York State Democratic Party will not be involved, said a source familiar with the negotiations, noting that the Sanders campaign would not have agreed to the date if they were included."

Clinton spokesperson Brian Fallon said, "We had thought the Sanders campaign would have accepted our offer for a Brooklyn debate on April 14 in a New York minute, but it ended up taking a few extra days for them to agree. We are glad they did. We are grateful to have both NY1 and the Daily News sponsoring this debate, ensuring a New York focus to the discussion." He also Tweeted thanks to the tall progressive from Park Slope:

.@BilldeBlasio gets MVP award for his generous offer of assistance to help @BernieSanders get to yes on April 14 debate in Brooklyn — Brian Fallon (@brianefallon) April 5, 2016

So will SNL have Amy Poehler and Larry David appear on the April 16th show?