Click to email this to a friend (Opens in new window)

Click to share on Twitter (Opens in new window)

Click to share on Facebook (Opens in new window)

The White House has secured better jailhouse conditions for A$AP Rocky, Page Six has learned.

The Harlem hip-hop star has been locked up in a Swedish prison for more than two weeks after he got in a street fight with two men who had been tailing him and his entourage through the streets of Stockholm.

But when Rocky’s manager, John Ehmann, complained that his client’s conditions at the Kronoberg detention center were “inhumane,” the Urban Revitalization Coalition — an organization set up by the Trump administration — put Ehmann in contact with senior White House aide and President Trump’s son-in-law, Jared Kushner.

Kim Kardashian and Kanye West also lobbied Kushner to intervene in Rocky’s case.

“Jared immediately got Rocky moved to better living conditions,” Pastor Darrell Scott of the URC told Page Six exclusively. “They had this guy in a crap hole. I don’t know if it’s a different facility [that he’s now in], but he’s at least on a different floor. It’s better surroundings.”

Scott said that he and colleague Kareem Lanier told Trump about the situation as well.

“[Trump] asked, ‘Do you like the guy, do you trust him?’ And he said, ‘OK, we’ll look into it then.’ ” Scott added, “It was never a publicity grab . . . It’s just this administration trying to help an American citizen overseas who’s in dire straits.”

He added, “Jared called Sunday evening and said that it’s looking optimistic.”

Trump also got Secretary of State Mike Pompeo involved, Scott tells us.

Meanwhile, the governor of the detention center — where Rocky’s being held because he’s been deemed a flight risk by Swedish authorities — has told Page Six the facility has “been completely renovated.”

Reports said Rocky was sleeping on a yoga mat, eating an apple a day and next to a feces-throwing inmate.

The State Department has said, “We expect all governments, including Sweden, to treat American citizens fairly and with respect.”

A spokesperson for the jail said: “Swedish Prison and Probation Service is not allowed to comment on individual prisoners.”

Reps did not immediately get back to us.