He said the situation was not a hazard because he would lower the mattress any time an officer wanted to talk to him.
Because Ardinger refused to permanently removed the mattress, corrections officers said they were forced to enter the cells and retrieve the mattresses.
Corrections officers testified Tuesday that Ardinger further tried to prevent the guards from entering his cell by grasping the bars on the door.
Ardinger said Wednesday he placed his hands there because he was trying to protect himself.
"I was trying to prevent them from coming in and hurting me," he said.
Ardinger said he suffered a bruised toe, cuts to his leg and a broken eye socket in the ensuing scuffle, that guards said started when Ardinger kneed one of them in the groin.
Ardinger said he has lingering problems from the eye injury, including problems focusing when he tries to read.
"I didn't want them in my cell. I didn't want anyone to get injured," he said.
The incident ended when one officer punched Ardinger, knocking him to the ground, according to testimony.
In addition to Ardinger, defense attorney George Matangos also called Warden John Wetzel and several other corrections officers to the stand Wednesday.
The Commonwealth and the defense finished presenting their cases, and Matangos and Assistant District Attorney Angela Krom are to begin closing arguments at 9 a.m. today. After that Judge Douglas Herman will give jurors instructions and they will begin deliberations.
Ardinger has been in the Franklin County Prison on $100,000 bail since February 2002 when he was jailed on charges of involuntary deviate sexual intercourse, statutory sexual assault and indecent assault, court records show.
His trial on those charges has been indefinitely postponed while the Franklin County District Attorney's Office awaits an evidentiary ruling from the Pennsylvania Superior Court.