Mob prince John “Junior” Gotti got the royal treatment at an upstate federal prison where a posse of jailed mobsters were at his beck and call – cooking, cleaning his cell and even doing his laundry, a prison official testified yesterday.

“He seemed to lead a pampered lifestyle,” said Robert Helms, a supervisor in the intelligence unit at Ray Brook federal prison. “He wouldn’t take care of his day-to-day chores like other inmates do.” During his nearly four years at the penitentiary, Helms noted that Gotti was constantly surrounded a “members and associates of organized crime” who tended to his every need.

“He rarely went to the dining hall – either inmates would bring food for him from the dining hall or cook for him,” Helms said, adding that much of Gotti’s grub came from the prison commissary – something most prisoners cannot afford.

“He would have his cell cleaned. He would have his laundry done by other inmates,” the prison official said at Gotti’s second retrial in Manhattan on racketeering charges. “Most inmates do their own.” Among the treats that Gotti could have enjoyed at the commissary are: cookies, bullion cubes, crackers, pints of ice cream, Tang, fresh fruit, Kool-Aid, powdered hot chocolate mix and peanut butter.

Assistant U.S. Attorney Miriam Rocah showed jurors photographs of a buff Gotti posing with a pal in the recreational area – sporting a tank top exposing tattooed arms – and group shots with a prison posse.

Helms said Gotti was always accompanied by a particular inmate, Michael Bolino, a reputed Colombo associate.

During cross-examination, Helms conceded that Gotti and Bolino had a common interest in working out and “spent a considerable amount of time in the weight room” together.

Helms also told defense lawyer Charles Carnesi that it is common for prisoners to hang around members of their own ethnic group while behind bars.

Helms said the prison helped the FBI record Gotti’s periodic visits with three underlings and a lawyer, directing the mob scion to sit near recording devices disguised as computer jacks that had been installed in the visiting areas specifically for the investigation.

Gotti also received regular visits from his children, who typically came to the prison with mob associate Steve Dobies.

“The children would come and greet their father.

Then they get antsy and want to be out and about,” Helms said, adding that Gotti spent the bulk of the visits talking to Dobies.

The testimony about Gotti’s life behind bars came during his third trial on racketeering charges, the most notable of which is the botched 1992 kidnapping of radio host Curtis Sliwa.