A 22-year-old man made the mistake of trying to rob a former middleweight boxer more than twice his age, prosecutors in Detroit said.

Brian Hardman was ordered to stand trial at a hearing Friday, The Detroit News reported. He was arrested after his confrontation with Leonard Turner, 47, who was a boxer at Kronk Gym in his younger days.

Turner testified at the hearing that he was putting air in a tire at a gas station just before midnight Oct. 6 when a man approached him.

The man displayed a gun, demanded money and ordered Turner to get a passenger out of his car.

"I grabbed his arm and threw him to the ground," Turner said.

Turner said he then got hold of his assailant's trigger finger and shot off the gun until it had no bullets left. When the man demanded the gun, he hit him with it.

Judge Shannon Holmes rejected an argument by Hardman's lawyer that he should not be charged with carjacking because he did not have the gun.

"The reason he didn't have the gun on him is because the defendant got his butt whipped, and Mr. Turner took the gun from him," the judge said.