The Republican candidate opposing Sen. Sheldon Whitehouse in November labeled the Democrat a "gasbag" for his lengthy questioning of Justice Brett Kavanaugh on slang used in his high school yearbook.

Former Rhode Island Supreme Court Justice Bob Flanders released an ad calling Whitehouse (D-R.I.) "an embarrassment" to the Ocean State.

During Kavanaugh's hearings, Whitehouse pressed the judge on "boofing" and "the beach week ralph club."

MYSTERY SOLVED: It turns out that “boofing” and “the devil’s triangle” aren’t so scandalous after all and Judge Kavanaugh was completely honest in his descriptions of both. Another swing and another miss from Senate Democrats. #SmearFails #ConfirmKavanaugh #SCOTUS pic.twitter.com/A8QF3QQK3T — Senate Judiciary (@senjudiciary) October 4, 2018

Part of Whitehouse's interrogation is played in the ad.

"Have you boofed?" Whitehouse asked Kavanaugh, pressing him to define the term further.

Trump to Judge Jeanine: Lisa Murkowski 'Shocked' Me With 'Disgraceful' Vote After I Did 'So Much for Alaska'

'He's a Liar': Watters Rips RI Sen. Whitehouse for Saying GOP Doesn't Want to Properly Probe Kavanaugh Claims

"That refers to flatulence, we were 16," Kavanaugh responded. "You want to talk about flatulence at age 16 on a yearbook page, I'm game."

Whitehouse is then seen scowling at Kavanaugh as a narrator says "let's elect a problem solver, not a gasbag."

In the latest Real Clear Politics polling average, Whitehouse leads Flanders by 19 points in the reliably blue New England state.

Check out my new campaign ad “Gasbag.” Sen. Whitehouse again embarrassed RI, questioning Judge Kavanaugh about his h.s. yearbook references to flatulence and vomiting. The accuser deserved better; Judge Kavanaugh deserved better; and RI deserved better! https://t.co/psTmNuj7zN — Bob Flanders for U.S. Senate (@flanders4senate) October 4, 2018

In a statement obtained by the Fox affiliate in Providence, Whitehouse reacted to Kavanaugh’s confirmation, saying that "his bitter, partisan conspiracy theories ought to disqualify any nominee to the bench, let alone to the highest court in the land.”

Watch more above, and watch Whitehouse's full remarks below.

'You Don't Hand Matches to an Arsonist': Trump Urges Voters to Support GOP in November

Bongino on Kavanaugh Getting Confirmed: 'Trumpism Has Been Entirely Vindicated'