Offset, a leader of the hip-hop group Migos, was detained by Beverly Hills police on Saturday and later released after an incident that reportedly stemmed from a clash with pro-Trump marchers.

Offset, whose real name is Kiari Cephus, was streaming on Instagram Live to 30,000 viewers when police officers approached his vehicle. In a clip taken from the live, an officer said police had received a call about someone waving a gun from a car. A statement from the Beverly Hills Police Department clarified that a passerby claimed a passenger in the car pointed a gun at them and gave police the license plate number of the vehicle. The passerby did not press charges.

In the video, officers tell Offset “don’t move man,” and “open the door.” An officer asks the rapper why he won’t move to which Offset replies “because you’ve got guns out.” The officer responds: “That’s my choice.”

Offset refuses to move, and an officer reaches through the car’s open window to unlock the door and pull the rapper out.

“No. That’s not legal. That’s not legal, you can’t just open my door,” Offset says. “Yeah I can,” replies an officer. The rapper repeatedly asks the officers “Do you know who I am?” and tells them he will “sue the s–t out of them.”

The police statement also clarified that Offset was not arrested, though he was detained.

“There have been media reports that entertainer Offset was arrested,” the statement read. “Those reports are inaccurate.”

Another passenger in the car, Marcelo Almanzar, 20, who is reportedly a cousin of Offset’s wife Cardi B, was arrested. His bail was set for $35,000.

In a statement to People, a rep for Offset said, “Artist and Philanthropist Offset was detained by the Beverly Hills Police Department following an attack by aggressive Trump supporters.” In the video, you can hear Offset say someone “beat his car up” with a flag, though it’s not clear if those were the aggressive Trump supporters.

“He was released shortly thereafter,” the statement continues. “Offset thanks his fans for their support and wishes everyone peace and safety during these trying times. He encourages everyone to get out and vote because nothing changes if nothing changes.”