Beyonce performed a touching rendition of Sam Cooke's A Change is Gonna Come in a tribute to the city of Detroit.

"This song is dedicated to Detroit," she said before belting the song on July 20.

Detroit, once the fourth most populated city in the country, filed for bankruptcy in July. It became the largest city in the nation to do so.

The clip, released on Wednesday, shows Mrs. Cater's Michigan fans cheering for her as she performs onstage at The Palace of Auburn Hills. The the tribute video featured photos of Detroit landmarks, including the Fist of a Champion and the monument for Joe Louis as well as famous Detroit artists such as the Motown group The Miracles and rapper Eminem.

Toward the end of the clip, the devastation of the city is shown, with images of graffiti and poverty-stricken areas. The words "Nothing stops Detroit" also flash across the screen.

This isn't the first time the superstar demonstrated her compassion while on the Mrs. Carter Tour.

Beyonce invited three of the survivors of the Boston Marathon bombings to hang out with her at the TD Garden in Boston in July. Wearing a white leotard, Beyonce was photographed with Mery Daniel, Adrianne Haslet and Heather Abbott, who each had a limb amputated after the April attack. 

See a photo of the four ladies here.

On July 13, Beyonce also paid tribute to Trayvon Martin, the same day George Zimmerman was found innocent in the shooting death of the 17-year-old. Mrs. Carter performed a rendition of Whitney Houston's I Will Always Love You in his honor.

Beyonce showed more support for Martin when she participated in a rally with her husband Jay Z in New York on July 20. The couple was photographed with Reverend Al Sharpton and Martin's mother Sybrina Fulton.