Bernie Sanders will campaign with Hillary Clinton in New Hampshire on Tuesday at an event where he is widely expected to endorse her, putting a formal end to a primary campaign that extended far longer than expected and pushed Clinton to embrace a substantially progressive platform.

The Vermont senator will join the presumptive Democratic nominee in Portsmouth at an organizing event "to discuss their commitment to building an America that is stronger together and an economy that works for everyone, not just those at the top," a statement from Clinton's campaign said Monday morning.

Rumors surfaced last week that a denouement between the two candidates was coming, but that was before members of the Democratic Party platform committee met over the weekend in Orlando, Florida, to finalize the language codifying the party's policy stances.

There were several speed bumps with the potential to disrupt the peace: Sanders allies ultimately lost battles to include language to formalize the party's opposition to the Trans-Pacific Partnership free trade agreement – which would have put the platform in direct opposition to President Barack Obama – and urging "the end to occupation and illegal settlements" by Israel into Palestinian territory.

The platform fight also ended on a sour note early Sunday morning, when Sanders supporters in the audience shouted down an amendment – approved by both Clinton and Sanders campaign staffs – that would have inserted Clinton's name into the platform as the nominee while crediting Sanders for his contributions.

But even if some of Sanders' most die-hard supporters have resisted shifting their allegiance to Clinton, Sanders himself has signaled that he felt they were coming into alignment.

On Saturday, Clinton released a new health care plan designed to appeal to Sanders supporters, declaring support for a public option to be added to the Affordable Care Act and calling for doubled community health center funding.

"I congratulate Secretary Clinton for this extremely important initiative," Sanders said in a statement. "The proposal, in a very significant way, addresses the crisis we now face in primary health care."

He also praised her last week for expanding her higher education proposal to eliminate tuition at public colleges and universities for many students.

Asked to confirm his plans to endorse Clinton on a conference call Saturday, Sanders would only hint at what was to come.