Updated at 1:15 p.m.

House Democrats have ended their almost 26-hour-long sit-in to push for gun control legislation, pledging on Thursday afternoon to continue their fight once Congress returns from the July Fourth recess.

Rep. John Lewis, D-Ga., ended the daylong protest surrounded by his Democratic colleagues. The civil rights leader proclaimed that this "is a struggle, but we're going to win this struggle."

He pledged to come back on July 5 after the congressional recess "more determined than ever before" to push for reforms in the wake of yet another mass shooting last week at an Orlando gay nightclub.

After they vacated the floor, Lewis and other Democratic leaders headed outside the Capitol to address supporters of their sit-in who had gathered throughout the push.

The sit-in began before noon on Wednesday, when House Democrats took to the floor. Chanting "No Bill, No Break" and waving posters with the names of victims of gun violence, the Democrats vowed to allow no House business to happen until there were votes on two gun control measures.

Speaker Paul Ryan, R-Wis., remained resolute on Thursday morning against their calls, hours after he adjourned the House for the July Fourth recess after passing a Zika funding bill in the middle of the night.

"We are not going to allow stunts like this to stop us from carrying out the people's business," Ryan said at his weekly news conference. He argued that if Democrats wanted to bring the legislation to the floor, they could try through a discharge position but that any bill has no chance of passage in the Senate.

Ryan held up emails from Democrats fundraising off their sit-in and said Democrats were simply "trying to get on TV."

"I'm really not sure what their plan and endgame is here," Ryan said, adding that he worried about the precedent it's setting.

"When we see our democracy descend in this way, it's not a good sign," he added.

In the early hours of the protest, Ryan had quickly called the chamber into recess. The video cameras on the House floor were turned off afterward, standard practice during a recess. (The Associated Press notes there was a House protest in 2008, when Republican representatives occupied the floor and called for a vote to expand oil and gas drilling. During that protest, then-House Speaker Nancy Pelosi similarly called a recess and shut off the cameras.)

C-SPAN had relied on live video streaming on Periscope and Facebook to cover the sit-in. Texas Rep. Beto O'Rourke was among those streaming the events.

There was a flurry of activity beginning late Wednesday and continuing into the wee hours Thursday, when Ryan brought the House back into session (and the cameras were turned back on). GOP lawmakers — despite the sit-in and shouts of "shame, shame, shame" — held a vote on the Zika funding bill, passing it without debate. The Republican representatives, who control the House, then adjourned the body ahead of the scheduled holiday.

But some Democrats remained.

"Just because they cut and run in the dark of night, just because they have left doesn't mean we are taking no for an answer," said Minority Leader Nancy Pelosi on Thursday morning, the AP reports.

Yesterday, The Two-Way explained how the sit-in — which has included lawmakers literally sitting on the floor of the House — began:

"The House is scheduled to break on Sunday, and Democrats are demanding a vote on two bills before they go: one that bars anyone on the no-fly list from buying a firearm and another that broadens background checks for firearm purchases. ..."Rep. John Lewis, a Democrat from Georgia, announced the sit-in earlier [Wednesday] morning." 'We have lost hundreds and thousands of innocent people to gun violence — tiny little children, babies, students and teachers, mothers and fathers, sisters and brothers, daughters and sons, friends and neighbors — and what has this body done?' Lewis said, flanked by fellow Democrats. 'Mr. Speaker, nothing. Not one thing.' "

Lewis is no stranger to sit-ins. He was a leader of the civil rights movement, chairing the Student Nonviolent Coordinating Committee, working as a Freedom Rider, marching to Selma and, of course, joining sit-ins in the South in the '60s.

Ryan called the Democrats' sit-in a stunt and a gimmick.

"It's not a gimmick for me," Lewis said, according to the AP.

NPR's Susan Davis described the scene inside the chamber:

"Democrats sang 'We Shall Overcome.' ... Senators from across the chamber came over. Massachusetts Democrat Elizabeth Warren brought them Dunkin' Donuts."In the galleries around the chamber, you had families of victims of gun violence, including a mother of one of the children that was killed in the Newtown shooting. Members held up posters of the names of people that had been killed in mass shootings on the floor. It was a very dramatic display."

Crowds cheered from outside the Capitol, too.

A total of 168 House Democrats, out of 188 total, joined at least part of the sit-in, the AP reports. A number of senators joined them on the floor.

But after more than 20 hours of protest, the Democrats were "drained and dwindling," the news service writes, "some draped in blankets and toting pillows." It adds that some 16 lawmakers remained on the House floor as dawn broke Thursday.

Copyright 2016 NPR. To see more, visit http://www.npr.org/.