LIVINGSTON, Mont. -- A Montana judge walked out of a court hearing after being heckled by a rowdy crowd, leaving the conservative former state legislator who instigated it all to declare he was in charge of the courtroom and proclaim the case against him dismissed.

Former Republican Rep. Joel Boniek appeared in Park County's Justice Court on Monday for what should have been a simple scheduling hearing before Justice of the Peace Linda Budeski and Deputy County Attorney Kathleen Carrick.

Instead, Boniek walked into the hearing followed by supporters and questioned the prosecutor's authority in the case.

Boniek, 51, was arrested in July on charges of obstructing a peace officer, resisting arrest and fleeing from or eluding a peace officer. He has pleaded not guilty. Prosecutors say he failed to stop at an emergency roadblock set up near his home in the Paradise Valley during a wildfire.

According to the Livingston Enterprise, Boniek questioned whether the county employees had the proper credentials to handle his case, and he tried to stifle Carrick from addressing the judge.

"Your honor, why is this woman even speaking if she can't prove she's (a public official)?" Boniek said.

The proceedings further devolved when a Boniek supporter became vocal. When Budeski told the supporter he was out of order, the man replied with an expletive and said, "You're out of order."

Others in the crowd joined in, and Budeski suddenly announced that court was adjourned and left. Many people refused law enforcement officers' demands to leave the courtroom.

"The judge has left the room, I'm in charge now," Boniek said.

"No, you're not," an officer responded.

Officers questioned Boniek about a lump under his jacket and asked if they could check to see if it was a firearm. Boniek declined.

Boniek said his case is over in light of Monday's events.

"The judge abandoned the courtroom, and I announced the case dismissed as the last man standing in the courtroom," he said.

But the justice of the peace said the case is still on, just delayed.

Outside the City County Complex, Boniek said his objections are rooted in his interpretation of state law that county officials are required to be bonded and have proof of taking an oath.

Carrick said county officials are insured, which serves the same purpose as a bond.

She also refuted Boniek's other contentions, saying Park County follows state law and fulfills the requirements specified in Montana's legal code.

Boniek represented House District 61, in the Livingston area, in 2009-2010. He also was the running mate to political newcomer Bob Fanning in a losing bid for the Republican gubernatorial nomination.

Also on HuffPost:

Loading Slideshow...
  • Alabama State Capitol (Montgomery, Ala.)

    Pictured on Tuesday, Feb. 7, 2012. (AP Photo/Dave Martin)

  • Alaska State Capitol (Juneau, Alaska)

    Pictured on Tuesday, Jan. 18, 2011. (AP Photo/Chris Miller)

  • Arizona State Capitol (Phoenix)

    Pictured on Friday, April 23, 2010. (Photo by John Moore/Getty Images)

  • Arkansas State Capitol (Little Rock, Ark.)

    Pictured on Wednesday, Nov. 30, 2011. (AP Photo/Danny Johnston)

  • California State Capitol (Sacramento, Calif.)

    Pictured on Thursday, Jan. 5, 2006. (Photo by David Paul Morris/Getty Images)

  • Colorado State Capitol (Denver)

    Pictured on Thursday, Oct. 26, 2006. (Photo by Doug Pensinger/Getty Images)

  • Connecticut State Capitol (Hartford, Conn.)

    Pictured on Tuesday, Feb. 7, 1999. (AP Photo/Bob Child)

  • Delaware State Capitol (Dover, Del.)

  • Florida State Capitol (Tallahassee, Fla.)

    Pictured on Monday, Jan. 3, 2011. (AP Photo/John Raoux)

  • Georgia State Capitol (Atlanta)

    Pictured on Tuesday, November 13, 2007. (Photo by Jessica McGowan/Getty Images)

  • Hawaii State Capitol (Honolulu)

  • Idaho State Capitol (Boise, Idaho)

    Pictured on Monday, Jan. 14, 2008. (Ned Dishman/NBAE via Getty Images)

  • Illinois State Capitol (Springfield, Ill.)

    Pictured on Tuesday, Sept. 21, 2004. (AP Photo/Seth Perlman)

  • Indiana State Capitol (Indianapolis)

    Pictured on Saturday, Feb. 4, 2012. (Photo by Jeff Gross/Getty Images)

  • Iowa State Capitol (Des Moines, Iowa)

    Pictured on Wednesday, Aug. 10, 2011. (Photo by Chip Somodevilla/Getty Images)

  • Kansas State Capitol (Topeka, Kan.)

    Pictured on Thursday, April 15, 2010. (AP Photo/Orlin Wagner)

  • Kentucky State Capitol (Frankfort, Ky.)

    Pictured on Wednesday, April 12, 2006. (AP Photo/James Crisp)

  • Louisiana State Capitol (Baton Rouge, La.)

    Pictured on Monday, Jan. 14, 2008. (Matthew HINTON/AFP/Getty Images)

  • Maine State Capitol (Augusta, Me.)

    Pictured on Monday, Oct. 17, 2011. (AP Photo/Pat Wellenbach)

  • Maryland State House (Annapolis, Md.)

    (Photo by Patrick Smith/Getty Images)

  • Massachusetts State House (Boston)

    Pictured on Tuesday, Jan. 2, 2007. (Photo by Darren McCollester/Getty Images)

  • Michigan State Capitol (Lansing, Mich.)

    Pictured on Wednesday, April 13, 2011. (Photo by Bill Pugliano/Getty Images)

  • Minnesota State Capitol (St. Paul, Minn.)

    Pictured on Friday, July 1, 2011. (Photo by Hannah Foslien/Getty Images)

  • Mississippi State Capitol (Jackson, Miss.)

    Pictured on Thursday, June 10, 1999. (AP Photo/Rogelio Solis)

  • Missouri State Capitol (Jefferson City, Mo.)

    Pictured on Friday, Oct. 16, 2000. (Photo credit should read ORLIN WAGNER/AFP/Getty Images)

  • Montana State Capitol (Helena, Mont.)

  • Nebraska State Capitol (Lincoln, Neb.)

    Pictured on Wednesday, Nov. 25, 1998. (AP Photo/S.E. McKee)

  • Nevada State Capitol (Carson City, Nev.)

  • New Hampshire State House (Concord, N.H.)

    Pictured on Friday, Dec. 28, 2001. (Todd Warshaw//Pool/Getty Images

  • New Jersey State House (Trenton, N.J.)

    Pictured on Friday, Aug. 13, 2004. (Photo by Chris Hondros/Getty Images)

  • New Mexico State Capitol (Santa Fe, N.M.)

  • New York State Capitol (Albany, N.Y.)

    Pictured on Sunday, March 16, 2008. (Photo by Daniel Barry/Getty Images)

  • North Carolina State Capitol (Raleigh, N.C.)

    Pictured in 1930. (AP Photo)

  • North Dakota State Capitol (Bismarck, N.D.)

    Pictured on Thursday, April 19, 2012. (AP Photo/Dale Wetzel)

  • Ohio Statehouse (Columbus, Ohio)

    Pictured on Tuesday, March 8, 2011. (Photo by Mike Munden/Getty Images)

  • Oklahoma State Capitol (Oklahoma City)

    Pictured on Wednesday, Feb. 29, 2012. (AP Photo/Sue Ogrocki)

  • Oregon State Capitol (Salem, Ore.)

    Pictured on Friday, May 20, 2011. (AP Photo/Rick Bowmer, file)

  • Pennsylvania State Capitol (Harrisburg, Pa.)

    Pictured on Thursday, June 28, 2012. (BRIGITTE DUSSEAU/AFP/GettyImages)

  • Rhode Island State House (Providence, R.I.)

    Pictured on Wednesday, Aug. 1, 1945. (AP Photo)

  • South Carolina State House (Columbia, S.C.)

    Pictured on Monday, Jan. 21, 2008. (Photo by Chris Hondros/Getty Images)

  • South Dakota State Capitol (Pierre, S.D.)

    Pictured on Tuesday, Jan. 10, 2012. (AP Photo/Doug Dreyer)

  • Tennessee State Capitol (Nashville, Tenn.)

    Pictured on Tuesday, Sept. 30, 1941. (AP Photo)

  • Texas State Capitol (Austin, Texas)

    Pictured on Tuesday, Oct. 4, 2011. (MIRA OBERMAN/AFP/Getty Images)

  • Utah State Capitol (Salt Lake City)

    Pictured on Thursday, March 15, 2001. (GEORGE FREY/AFP/Getty Images)

  • Vermont State House (Montpelier, Vt.)

    Pictured on April 9, 1953. (AP Photo/Francis C. Curtin)

  • Virginia State Capitol (Richmond, Va.)

    Pictured on Wednesday, May 2, 2007. (Photo by Chris Jackson/Getty Images)

  • Washington State Capitol (Olympia, Wash.)

    Pictured on Wednesday, Jan. 18, 2012. (AP Photo/Rachel La Corte)

  • West Virginia State Capitol (Charleston, W.V.)

    Pictured on July 2, 2010. (MANDEL NGAN/AFP/Getty Images)

  • Wisconsin State Capitol (Madison, Wis.)

    Pictured on Saturday, Dec. 24, 2011. (KAREN BLEIER/AFP/Getty Images)

  • Wyoming State Capitol (Cheyenne, Wyo.)

    Pictured on Tuesday, March 6, 2001. (Photo by Michael Smith/Newsmakers)