It looks like Kodak Black has dodged another legal battle.

As reported by rolling stone, Florida prosecutors have dismissed a trespassing charge against the 24-year-old rapper. The case stems from Kodak’s Jan. 1 arrest in his hometown of Pompano Beach, where he was visiting family for the holidays. The rapper was reportedly standing in a driveway next to his Lamborghini when officers pulled him over due to a months-old cease-and-desist notice. Housing authorities released the letter after Kodak distributed air conditioning units to residents of its former neighborhood. His attorney, Bradford Cohen, criticized law enforcement for the arrest, arguing that a cease and desist letter was not a trespassing notice.

“Can you imagine being arrested for trespassing the neighborhood where you grew up, given 20,000 toys, 20,000 turkeys and 15,000 Ac units because the Pompano Housing Authority considered a cease and desist letter sent to a record label as a trespassing notice?” Cohen wrote on Instagram. “Legally, they expose themselves to a civil lawsuit. Trespass must take place after proper notice, proper notice was never given, but BSO decided to make a trespassing arrest the night Kodak attended to 5 families in Golden Acres to ensure that all their bills were paid by Christmas.

Cohen said rolling stone Prosecutors dismissed the trespassing case on Wednesday, after determining the arrest was wrongful. The attorney pointed out that Kodak was in the area because he was invited by residents of the property, meaning he was not in violation. Cohen also speculated that officers intended to arrest Kodak for a more serious crime, as they searched his car and detailed all its contents after the arrest.

“I think they made the arrest so they could search him and search his vehicle that was legally parked and try to find something that was a higher charge than trespassing,” Cohen told rolling stone. “I think it was embarrassing that they ended up arresting him for trespassing, and the case was never closed because there was no probable reason to make the arrest.”

The Broward County Sheriff’s Office has yet to respond to rolling stonerequest for comment.