House Minority Leader Nancy Pelosi's marathon House floor speech about the need to pass legislation to protect so-called "Dreamers" has ended.

The speech lasted eight hours and seven minutes, beginning at 10:04 a.m. and ending at 6:11 p.m.

The House was set to start debating the Mortgage Choice Act, but Pelosi, D-Calif., took the floor shortly after 10 a.m., and said she wanted to talk at length about immigration.

Pelosi, 77, stood in stilettos and did not leave the podium over the duration of the speech. She read testimonies of Dreamers and warned that a "large number" of House Democrats are prepared to vote against a short-term spending bill without a guarantee that there would be a vote on immigration.

The Deferred Action for Childhood Arrivals program, which protects young illegal immigrants brought to the U.S. as children, is set to expire on March 5.

While not actually a filibuster, which is an action lawmakers take in the Senate, Pelosi, as a party leader, reserves the right to talk at length on the floor. Both she and House Speaker Paul Ryan, R-Wis., often request one minute to speak, but go on for several minutes.

The speech was the longest on the House floor in at least 100 years and may have set a record, the House of Representatives Historian’s Office said in the late afternoon.

“It appears that Leader Pelosi today set the record for the longest-continuous speech in the House, going back at least to 1909 when Champ Clark of Missouri held the floor for five hours and 15 minutes,” the announcement from the historian’s office reads. Clark’s speech was the only speech of a comparable length that the historian’s office could find.

By comparison, the longest speech in the Senate goes to former Sen. Strom Thurmond, R-S.C., who held the floor for 24 hours and 18 minutes in 1957 to speak against the Civil Rights Act of 1957.