WASHINGTON -- The House Republican and Democratic leaders generally get a fair amount of leeway in their remarks on the House floor, but Rep. Andy Harris (R-Md.) thought Minority Leader Nancy Pelosi (D-Calif.) stepped over the line when she thanked Rep. Chris Van Hollen for his work on the budget Tuesday.

Van Hollen, the top Democrat on the Budget Committee and a fellow member of Harris' Maryland congressional delegation, had been trying to offer a Democratic plan to replace the sequestration budget cuts, to no avail.

When Pelosi, a former speaker of the House, thanked him for his work, Harris, a second-term tea party favorite who was presiding over the chamber, scolded her for turning to Van Hollen and using his name in a technical breach of decorum.

"The minority leader is reminded to address the remarks to the chair," Harris said, prompting a chuckle of disbelief from Pelosi.

WATCH:

CORRECTION: Harris' name was misspelled in an earlier version of this story.

Also on HuffPost:

Loading Slideshow...
  • Barack Obama

    US President Barack Obama laughs while speaking during a campaign event at the Cincinnati Music Hall in Cincinnati, Ohio , July 16, 2012. AFP PHOTO / Saul LOEB (Photo credit should read SAUL LOEB/AFP/GettyImages)

  • Mitt Romney and Nikki Haley

    HILTON HEAD ISLAND, SC - JANUARY 13: Republican presidential candidate, former Massachusetts Gov. Mitt Romney (L) and South Carolina Gov. Nikki Haley, a Republican, laugh as they listen to U.S. Sen. John McCain (R-AZ) speak during a campaign rally at the Hilton Oceanfront Resort on January 13, 2012 in Hilton Head Island, South Carolina. Romney continues to campaign for votes in South Carolina ahead of their primary on January 21. (Photo by Joe Raedle/Getty Images)

  • Bill Clinton and Carlos Slim

    Former US President Bill Clinton and Mexican businessman Carlos Slim laugh during the signing of an agreement for economic support to Colombia, Mexico and Peru in Mexico City, on August 4 2008. AFP PHOTO/Luis ACOSTA (Photo credit should read LUIS ACOSTA/AFP/Getty Images)

  • Hillary Clinton and David Cameron

    WASHINGTON, DC - MARCH 14: Secretary of State Hillary Clinton (L) and British Prime Minister David Cameron share a laugh during a lunch hosted at the State Department on March 14, 2012 in Washington, DC. Cameron is on an official visit to Washington, where President Obama will host him at a State Dinner tonight. (Photo by Brendan Hoffman/Getty Images)

  • Joe Biden and Barack Obama

    US President Barack Obama (R) laughs alongside US Vice President Joe Biden prior to signing the healthcare insurance reform legislation during a ceremony in the East Room of the White House in Washington, DC, March 23, 2010. Obama Tuesday signed into law sweeping reforms that will for the first time ensure health care coverage for almost every American. AFP PHOTO / Saul LOEB (Photo credit should read SAUL LOEB/AFP/Getty Images)

  • Al Gore

    SAN FRANCISCO - OCTOBER 11: Former U.S. Vice President Al Gore laughs as he attends a fundraiser for U.S. Sen. Barbara Boxer?s (D-CA) 2010 re-election campaign October 11, 2007 in San Francisco, California. Al Gore is nominated for the 2007 Nobel Peace prize for his efforts to bring attention to global warming. The prize winner will be announced on October 12. (Photo by Justin Sullivan/Getty Images)

  • George W. Bush

    US President George W. Bush watches the women's preliminary basketball match between the US and Czech Republic at the 2008 Beijing Olympic Games in Beijing on August 9, 2008. AFP PHOTO/Gabriel Bouys (Photo credit should read GABRIEL BOUYS/AFP/Getty Images)

  • Sarah Palin

    Republican vice presidential cadidate Sarah Palin (L) shares a laughter with supporters at the end of a campaign rally at the Home Depot Center in Carson on October 4, 2008. AFP PHOTO/Jewel SAMAD (Photo credit should read JEWEL SAMAD/AFP/Getty Images)

  • John Boehner and Byron Dorgan

    WASHINGTON - MAY 20: House Minority Leader John Boehner (R-OH) (C) and Sen. Byron Dorgan (D-ND) laugh before a joint session of the U.S. Congress on the floor of the House House of Representatives at the U.S. Captiol May 20, 2010 in Washington, DC. Mexican President Felipe Calderon addressed the joint session and talked about immigration and asked the Congress to reinstate the assult weapons ban to help control the flow of weapons into Mexico from the United States. (Photo by Chip Somodevilla/Getty Images)

  • Dick Cheney

    LARAMIE, WY - SEPTEMBER 27: U.S. Vice President Dick Cheney laughs during an exchange with former U.S. Senator Al Simpson at a fund-raiser for the University of Wyoming Foundation September 27, 2002 in Laramie, Wyoming. (Photo by Michael Smith/Getty Images)

  • Michele Bachmann

    WASHINGTON, DC - JANUARY 05: U.S Rep. Michele Bachmann (R-MN) (2nd L) laughs with colleagues after Rep. John Boehner was elected the new Speaker of the House January 5, 2011 in Washington, DC. The 112th U.S. Congress was sworn-in today, with Republican legislators taking control of the House of Representatives and expected to begin attempts to dismantle portions of U.S. President Barack Obama’s legislative agenda. (Photo by Alex Wong/Getty Images)

  • John McCain

    Republican presidential candidate John McCain laughs at a joke made by Senator Joe Lieberman during a campaign rally the Henderson Pavilion in Henderson, Nevada on November 3, 2008. One day before the US presidential election McCain is making a seven-state cross-country blitz in the effort to win votes in the contest against Democratic opponent Barack Obama. AFP PHOTO /Robyn BECK (Photo credit should read ROBYN BECK/AFP/Getty Images)

  • Ronald and Nancy Reagan

    402010 02: Former U.S. President Ronald Reagan and First Lady Nancy Reagan share a laugh in this undated file photo. The couple celebrated their 50th wedding anniversary on March 4th 2002. (Photo courtesy Ronald Reagan Presidental Library/Getty Images)