Rap mogul Jay-Z sued the head of the Mississippi Department of Corrections and the warden of the state penitentiary Tuesday on behalf of 29 prisoners who say theyve done nothing to stop the violence that has left five inmates dead in the past two weeks.

These deaths are a direct result of Mississippis utter disregard for the people it has incarcerated and their constitutional rights, according to the lawsuit, which was filed by Jay-Zs lawyer Alex Spiro at the U.S. District Court in Greenville, Mississippi.

It names as defendants DOC Commissioner Pelicia Hall and Superintendent of the Mississippi State Penitentiary, Marshall Turner.

We cannot treat people this way and its time to do something about it, Spiro of the Quinn Emanuel law firm said in a statement to NBC News.

There was no immediate response from Mississippi prison officials.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings.

The lawsuit comes on the heels of a letter dated Jan. 9 that Spiro sent to Hall and Mississippi Gov. Phil Bryant on behalf of Jay-Z and hip-hop artist Yo Gotti (Mario Mims) protesting the inhumane conditions in prisons operated by the Mississippi Department of Corrections.

Spiro said they were prepared to pursue all potential avenues to obtain relief for the people living in Mississippis prisons and their families.

This unthinkable spate of deaths is the culmination of years of severe understaffing and neglect at Mississippis prisons, Spiros letter reads. As Mississippi has incarcerated increasing numbers of people, it has dramatically reduced its funding of prisons. As a result, prison conditions fail to meet even the most basic human rights.

People are forced to live in squalor, with rats that crawl over them as they sleep on the floor, having been denied even a mattress for a cot, the letter said.

Spiro closed with a warning: Roc Nation and its philanthropic arm, Team Roc, demand that Mississippi take immediate steps to remedy this intolerable situation.

Roc Nation is the entertainment agency that Jay-Z, aka Shawn Carter, founded in 2008.

The lawsuit names three prison inmates who were killed this year at the state penitentiary in Parchman, Mississippi.

Walter Gates, an inmate of Unit 29E at Parchman was stabbed multiple times the night of New Years Eve, and pronounced dead just after midnight, the suit states. Roosevelt Holliman was stabbed to death in a fight the next day. And Denorris Howell, an inmate of Unite 291 at Parchman was stabbed multiple times and pronounced dead the day after that.

Violence behind bars has been a long-festering problem in the Mississippi prison system. A 2014 investigation by The Clarion Ledger found that gangs rule the prisons and while corrections officials insist there is zero tolerance for violence, it continues unabated.