Nelson Mandela was, quite famously, a fan of European classical music. His two favorite composers were George Frideric Handel and Pyotr Ilyich Tchaikovsky, but he grew up exposed to the country’s rich tradition of vocal groups forging a unique form of sacred rhythm music.

That changed while the former South African president and longtime democratic activist was imprisoned by the pro-apartheid government from 1962 to 1990. He wasn’t allowed access to music.

Artists, however, used Mandela’s jailing to fuel global protest songs, and during his years in captivity Mandela’s messages were delivered on the wings of rhythm and melody.

The response to Mandela’s cause, in fact, helped bridge cultural divides that continue to hold. One of the best known songs, Artists United Against Apartheid’s “I Ain’t Gonna Play Sun City,” for the first time brought together on record superstars of rock and R&B with the kings of a rising young genre called hip-hop.

What follows are 10 essential works that celebrate the late Nelson Mandela and his efforts. His spirit, perseverance and dignity fueled not only the cause of liberty and equality, but drove music to great heights.

Sipho “Hotstix” Mabuse, “Nelson Mandela” (1994)

In 1994, singer Sipho “Hotstix” Mabuse was commissioned by the African National Congress to write an election song in support of Nelson Mandela’s campaign. The activist had been released from prison four years before, and Mabuse eagerly agreed; he’d been singing about Mandela’s plight for years. The result was, simply, “Nelson Mandela,” which featured Mandela himself reading from a speech he gave during one of his trials in 1964.

Stevie Wonder, “It’s Wrong” (1985)

In 1985, Stevie Wonder was at one of many career peaks, and used that power to expose the injustices occurring in South Africa. Employing exiled South African musicians, Wonder put the rhythmic breakdown that is “It’s Wrong” on his “In Square Circle” album. That same year he was arrested during a Washington, D.C., anti-apartheid protest and dedicated the Oscar he won for the song “I Just Called to Say I Love You” to Nelson Mandela. The South African government responded by banning Wonder’s songs – evidence of their hopeless desperation.

Brenda Fassie, “My Black President” (1989)

A song banned in South Africa when it was released in 1989, “My Black President” was a tipping-point song, offered as it was a year before his exit from jail in 1990. It’s a thrilling song, filled with the sound of black South Africa: a harmonious choral group, smooth as chrome, humming through the song while Fassie sings, imagining the moment that Nelson Mandela is released.

Johnny Clegg and Savuka, “Asimbonanga” (1987)

One of the most popular anthems of the anti-apartheid movement was South African singer Johnny Clegg and his band Savuka’s “Asimbonanga,” which, translated, means “We haven’t seen him.” A protest whose Zulu chant brings Mandela’s absence to life.

Artists United Against Apartheid, “I Ain’t Gonna Play Sun City” (1985)

In 1985, guitarist Steven Van Zandt of Bruce Springsteen’s E Street Band (and future actor on “The Sopranos”) helped spearhead a musical boycott of South Africa’s big-ticket resort town Sun City, which until then had paid handsome money for superstar concerts. Van Zandt banded together a lineup for the song “I Ain’t Gonna Play Sun City” that nearly 30 years later remains not only impressive in its scope but marks a symbolic first.

The song, produced by early electronic dance music innovator Arthur Baker, bridged the worlds of rock and rap together in what was then one of the biggest genre convergences to date.

Peter Gabriel, “Biko” (1980)

“Biko” is a song not about Nelson Mandela but his peer and founder of South Africa’s Black Consciousness Movement, Stephen Biko, who died in 1977 while in police custody. Gabriel’s devastating song was a few years after Biko’s murder, and helped focus international attention on the crimes being committed by the apartheid government. “You can blow out a candle but you can’t blow out a fire / Once the flames begin to catch the wind will blow it higher,” sings Gabriel, words that would prove prescient as protests grew and the government ultimately toppled.

The Special A.K.A., “Free Nelson Mandela” (1984)

The Specials’ Jerry Dammers wrote a memorable and joyous protest song in “Free Nelson Mandela,” a work whose simple message, chanted over and over throughout the song, became a rallying cry around the world. Released under the band name Special A.K.A. due to various legal wrangling occurring within the band at the time, “Free Nelson Mandela” roars, and taps into South African rhythms with pure celebratory spirit. The polar opposite of a dirge such as Gabriel’s “Biko,” “Free Nelson Mandela” is one of the great protest songs of the era.

Youssou N’Dour, “Mandela” (1986)

Senegalese griot singer Youssou N’Dour was one of Africa’s rising stars when he recorded his album “Nelson Mandela” in Paris’ Studio Montmartre in 1986. The album featured the title track, which conveyed in French the cause of Mandela and apartheid.

The Malopoets, “The End is Near” (1988)

Featuring a fiery speech by Allan Boesak, the Malopoets’ “The End is Near” fearlessly attacks the powers behind apartheid through a buttery, smooth but insistent beat. The black South African township group was one of the first to be allowed to perform a residency at Johannesburg’s Market Theatre, and helped push boundaries during the final years of apartheid.

Sonny Okosun, “Fire in Soweto” (1978)

Nelson Mandela had a direct connection to reggae music, even if he wasn’t able to hear its ascent while he was imprisoned. He had, however, met with one of the spiritual fathers of reggae music, Ethiopian Emperor Haile Selassie, in Ethiopia in 1962, the same year that Mandela began his incarceration. Reggae, born in the streets of Jamaica less than a decade later, took up Mandela’s cause while he was holed up in Robben Island prison. In addition to Eddy Grant’s “Gimme Hope, Jo’Anna,” Nigerian high life singer Sonny Okosun delivered his incendiary reggae jam “Fire in Soweto” in honor of South Africa’s plight.