After nearly a month in captivity, rapper A$AP Rocky is a free man (for now). A Swedish court ruled Friday that Rocky—real name Rakim Mayers—and two other suspects in an assault charge were free from detention and welcome to leave the country, pending a verdict set to be announced on August 14.

Rocky had been in custody since early July for allegedly assaulting a 19-year-old Stockholm man, Mustafa Jafari, on June 30. The incarceration led to outcry from major names in the music and political scene alike, and was briefly co-opted by President Donald Trump, who tried (and failed) to sway Swedish prime minister Stefan Löfven to let Rocky out on bail. Trump didn’t take credit for the release, but quickly inserted himself into the conversation with Twitter punnery.

“A$AP Rocky released from prison and on his way home to the United States from Sweden,” Trump wrote, before leaning full-on dad joke. “It was a Rocky Week, get home ASAP A$AP!”

It isn’t clear if Rocky or co-defendants Bladimir Corniel and David Rispers will actually leave Sweden before the August 14 verdict. Rocky pleaded not guilty to the charge of assault, claiming the incident occurred in self-defense. Swedish prosecutor Daniel Suneson is seeking a six-month prison sentence for Rocky, who has otherwise expressed a willingness to perform community service as recompense.

More Great Stories from Vanity Fair

— Our September cover story: how Kristen Stewart keeps cool

— Marianne Williamson explains her brand of magical thinking

— The surprisingly normal way Prince George celebrated his sixth birthday

— Lil Nas X breaks a major record—and drops some golden tweets too

— Why Samantha Morton doesn’t regret working with Woody Allen

Looking for more? Sign up for our daily newsletter and never miss a story.