A 6-foot-7 rapper and television personality was arrested in San Rafael on allegations he smashed a pint-size beer glass over another man’s head at the Pint Size Lounge.

Bryan Mahoney, whose stage name is Big B, was booked into Marin County Jail early Friday on suspicion of assault with a deadly weapon likely to cause great bodily injury. His bail was set at $50,000.

The incident occurred at about 1:30 a.m. at the bar, which is at 1615 Fourth St. near F Street. Mahoney allegedly took offense at something a man said to his girlfriend, so he bashed the beer glass over the man’s head, said San Rafael police Sgt. Scott Eberle.

When police arrived, they found the 320-pound suspect trying to hide behind a car outside the lounge, Eberle said.

The alleged victim, a 23-year-old San Rafael man, was taken to the hospital for stitches. The bartender was also struck by flying glass, but did not immediately seek medical care.

Mahoney, a 40-year-old Las Vegas resident, was booked on the assault allegation, and his 27-year-old girlfriend was arrested on suspicion of public intoxication.

Both have been released pending further review by the district attorney’s office.

Mahoney, who is on Twitter under the handle “@vegashooligan,” sent a tweet at about 10 p.m. Thursday announcing that he was at the Pint Size Lounge.

“I LOVE BEER!!” he said.

He also included a link to a photo of a beer he apparently took with a cellphone and posted to Instagram. The beer is in a pint-size glass with a Widmer logo and a slice of fruit on the rim.

Mahoney, who started his music career in 2001 with the group 187, has issued or contributed to about two dozen albums, including “High Class White Trash,” “White Trash Renegade” and “More to Hate,” most under the label Suburban Noize Records.

Mahoney was also a cast member of “Inked,” an A&E reality show that featured members of the Hart & Huntington tattoo studio in Las Vegas. Mahoney worked there when he was not touring.

“I’m white trash. I can’t hide that fact,” he told the Coffs Coast Advocate, an Australian newspaper, in 2011. “I would rather barbecue and drink beer with my friends than go to some fancy steak house.

“I’m covered in tattoos, but I have had more success than most of the people that used to label me white trash. All I did was embrace it and make a negative into a positive.”

Attempts to reach Mahoney and his girlfriend were not immediately successful.

Contact Gary Klien via email at gklien@marinij.com or https://twitter.com/GaryKlien