Prince has come out of seclusion for Sunday’s Rally 4 Peace in Baltimore. He took the stage in front of a crowd dressed in gray in tribute to Freddie Gray, the man whose death in police custody sparked protests in the city.

Prince asked fans to wear gray in honour of Freddie Gray.

The pop star announced Sunday’s event after weeks of protests. At the concert, Prince debuted a new song he wrote for the city in the wake of Gray’s death, USA Today reports. The track is appropriately titled Baltimore. According to the artist’s website, Prince is in talks with Jay-Z to release the song via the streaming service TIDAL. Prince and the band are in rehearsals for their on-going Hit 'N' Tour, which was mooted by Fox News to extend not only to more US cities but abroad too.

More: Prince Takes to Twitter, Tweets Dinner Pic and "Selfie"

More: Prince Finally Embraces the Sway of the Internet by Joining Twitter

He introduced the set by addressing the citizens of Baltimore and everyone, who had suffered loss: "For those who have lost loved ones, we're here for you tonight."

Prince also called on the city's youth to fix a "broken system."

At one point, Prince invited onstage Baltimore State's Attorney Marilyn Mosby, who has charged six officers in Gray's death. It was an emotional evening for everyone involved. The entire gig was streamed on Tidal. It also coincided with Prince’s long awaited return to Twitter.