Rapper Offset was detained and released in Beverly Hills on Saturday after a confrontation with supporters of President Donald Trump.

"Artist and Philanthropist Offset was detained by the Beverly Hills Police Department following an attack by aggressive Trump supporters," a rep for Offset said in a statement to PEOPLE. "He was released shortly thereafter."

According to TMZ, people close to Offset confirmed the artist was only detained, not arrested as some reports initially stated. However, police did arrest 20-year-old Marcelo Almanzar, the other person in the car who was suspected of pointing a gun at a passerby, KTLA5 reported.

Police said the person who made the accusation didn't bring any charges against Almanzar.

Multiple media outlets confirmed that Almanzar is the cousin of rapper Cardi B who's married to Offset. Earlier on Saturday, Cardi B posted a video as she was in the car going through an area of a nearby Trump rally in Beverly Hills. But it's not clear if the artist was in the car with her husband when she posted the clip. 

"I really feel like we're going to get jumped," she said on her Instagram Story.

Offset livestreamed the confrontation he had with officers while getting detained. When an officer asked Offset why he was refusing to exit the vehicle, the rapper said "Because you've got guns out."

"I'm not going to move my hands from the steering wheel," the Migos rapper said.

He continued to argue with the officers and tried to use his fame as an advantage.

"I'm a celebrity. You know who I am?" the artist said. "I'm Offset from the Migos. They're fans, that's why they're following me, bro."

The 28-year-old then said somebody was hitting his car with a flag. But one of the officers said Offset and his group are suspected of waving guns at people. The livestream continued with the musician threatening to sue the officers and refusing to let them open his door. But Offset eventually surrendered. 

“What is you grabbing my f**king wrist for, bro? So aggressive, bro,” the rapper said as he was forced out of the car. 

While Offset was released shortly after being detained, Almanzar was booked into a Beverly Hills Police Department station and held on a $35,000 bail, KTLA5 reported.