The rapper Polo G was spotted being marched out of his home and placed in handcuffs on Wednesday morning.

The 24-year-old performer — who was previously arrested for allegedly assaulting a police officer in 2021 — was first pictured walking out of his LA-area mansion with his hands up in photos obtained by TMZ, before he was seen being handcuffed by an officer next to a police vehicle.

According to law enforcement sources, police were searching the house as part of the investigation into a robbery, but a rep for Polo G claimed that he was not the focus of the investigation.

DailyMail.com has reached out to a representative for the rapper.

Bradford Cohen, an attorney for the rapper, told the TMZ that his client was 'being held to under the guise that the police department needs to double check that he is not a convicted felon as there was a purported firearm found in the home.

Detained: The rapper Polo G was pictured in handcuffs in photos obtained by TMZ after a Wednesday morning raid at his LA mansion by police; seen in 2019 in LA

Family ties: Law enforcement sources claimed a warrant was obtained in relation to a robbery, though it was focused on Polo G's brother Taurean (known as Trench Baby); pictured in a 2021 Miami mugshot

However, he said that Polo G 'is not and never was a convicted felon.'

'Any precious charges he had I got dismissed and it's all public record. They are also denying myself and my California law partner Zoey Aron access to him while he is being illegally detained."

Later in the morning, a law enforcement source told TMZ that the warrant was obtained in relation to Polo G's brother Taurean (known as Trench Baby).

The source said police were detaining Polo G as they attempted to determine if he had been harboring a fugitive.

Footage from the police response outside the artist's house showed police interceptor vehicles lined up down the block while officers wearing body armor stood in the middle of the street facing the mansion.

Officers could be heard on loud speakers as they ordered several people to step out of the house one by one.

Polo G was captured in the footage with long braids obscuring his face as he gingerly walked down his driveway with his hands held high.

An officer closest to him then patted him down and marched him over to a nearby vehicle, where another man and two women were waiting in handcuffs.

Legal mixup? Polo G's attorney said he was being held because police claimed they needed to determine if he was a convicted felon because a weapon was found in the house, but he said the rapper is not a felon; seen in 2019 in Las Vegas

The rapper and his companions stood still be the police car, and there wasn't any indication from the video that they were fighting back.

After the occupants of the house had been handcuffed, police reportedly searched the home thanks to their warrant.

Law enforcement sources said it was obtained in relation to a robbery.

Four suspects were reportedly taken into custody, though it's unclear if they were Polo and the three other handcuffed people seen handcuffed in the raid.

However, they have reportedly not yet been booked.

Polo G is no stranger to run-ins with the law, and he was previously arrested for allegedly assaulting a police officer in 2021, which his mother, Stacia Mac, claimed was the result of racial profiling.

In June of that year, taken into custody in the early morning hours after he and his entourage left an album release party and subsequently got into a confrontation with a police officer who had stopped their vehicle.

According to TMZ, the performer was booked and charged with several offenses, including battery on a police officer and resisting an officer with violence, among others, and his bail was set at $15,000.

Law enforcement sources claimed the alleged victim was assault with Polo G's elbows and suffered multiple facial lacerations.

Hidden away: The attorney also accused police of denying himself and his law partner access to Polo G while he was being detained; seen in 2019 in Chicago

Polo G's 40-year-old mother later released a video expressing her feelings about the incident and noted that her younger son, who is 16, was not allowed to speak to her.

She also captured a large row of police vehicles that had assembled at the scene of the incident, which she described as 'beyond ridiculous,' though it mirrored the scene at his detainment on Wednesday.

The rapper's manager alleged that her son's vehicle was stopped en route to an afterparty for 'driving while Black' and that, when she asked the police about the reason for the stop, they threatened to arrest her as well.

Mac described the police's response to the incident as a 'waste of taxpayers' money' and that her children were racially profiled simply for being 'Black and successful.