A never-before-seen poem from Tupac Shakur has been made public.

According to Rock The Bells, the iconic artist wrote the piece while he was in prison in 1995. Titled “4 What it’z Worth," the writing addressed Salt-N-Pepa group member Cheryl “Salt” James.

Documenting the challenges he faced while growing up in New York and the resilience he displayed after being shot five times, Tupac sent an uplifting message to Salt.

“These DAYZ my pain is deep. But there is always pleasure 2 be found in timez of struggle and grief,” the iconic rapper wrote. “If a tree can grow through New York concrete, then a thugg can change his heart. If I can survive five deadly shotz, we can discover light within the dark.”

Salt initiated the exchange when she wrote a letter to Shakur after he was sent to prison in New York, convicted for being involved in the sexual assault case of a 20-year-old woman.

“He felt like the whole world was turning against him and he was unjustly in prison,” Salt told Rock The Bells. “I told him that he could turn away from negativity and turn away from sin. He could have this new relationship directly with God.”

Shakur responded with his poem and letters, expressing appreciation for the singer’s support and admiration for how much the duo accomplished together in music. The rapper also revealed that he’d be dedicating his song “Keep Ya Head Up," to Salt’s daughter, Corin.

During the exchange between the two musicians, Salt sent some books to help the artist understand his own faith. Shakur responded, saying he read the books in addition to reading the Quran and the Bible.

"I've been shot five times and he's brought me this far," Shakur told The New York Times.

While the "Changes" artist apologized to the woman he was accused of assaulting, he also said he didn’t commit a crime and he’s leaving the rest to God.

"I put my faith in God. Once again, I have no shame," he told The Times. "What happens, happens for a reason. I leave this in the hands of God.”

The rapper was released from prison on October 12, 1995, less than a year before he died.

Iconic photos of Shakur and stories of his upbrining can now be seen in an online exhibit at Rock The Bells. The exhibit’s timeline details the history of Tupac’s mother, Afeni, who faced trouble after joining the Black Panther Party and marrying fellow Panther, Lumumba Shakur.

The couple and 19 others, who were dubbed as the Panther 21, were arrested in 1969 after a bomb explosion at a Bronx police station, according to the exhibit. The group was facing the possibility of a lifetime in prison, charged with 196 felonies related to the bombing and other conspiracies.

Afeni, who was pregnant, represented herself and begged the court to show compassion. A case which became the longest-running trial in New York state history at the time came to an end after two years, with the court acquitting the 21 defendants.

Afeni gave birth to Lesane Parish Crooks on June 16, 1971. She renamed him Tupac Amaru Shakur at the age of 1.

Photographer Mike Miller, who established a strong relationship with Shakur, is featured in the exhibit.

“Pac picked me because he liked my portfolio,” Miller told Rock The Bells. “It wasn't because I was his bro, it was because he liked my work. He would just go, ‘Mike shoot me like this.’”