Washington (CNN )Democrats have decided to end their sit-in protest over gun control Thursday, a senior leadership aide told CNN.

"We are going to the floor to end this now," the aide said.

Republicans had earlier tried to shut it down, but the Democrats' sit-in protesting the lack of action on gun control lasted for more than 24 hours.

In the middle of the night, House Republicans had sought to end the extraordinary day of drama by swiftly adjourning for a recess that will last through July 5.

The GOP move was an effort to shut down a protest that began Wednesday morning in reaction to the massacre in Orlando when Democrats took over the House floor and tried to force votes on gun control. But throughout the morning Thursday, 10-20 Democrats, including House Minority leader Nancy Pelosi for much of the time, remained on the floor.

At one point, a police officer told the Democrats that they would be conducting a daily security sweep. "I'd ask that you clear the floor while that happens," the officer said.

Pelosi responded: "That's not going to happen" and the security check then took place involving five agents and a dog as the House Democratic leader continued speaking, undeterred.