By Mike Dougherty

PHILADELPHIA (CBS) — A pastor and his family had quite the scare last night when they were approached by a robber with a rifle outside their home in Frankford.

It didn’t work out well for the thief.

READ MORE: Shooting In Southwest Philadelphia Leaves 4 Men Injured, Police Say

It was about 11 p.m. when the family returned home from a concert. The suspect pointed a rifle at the pastor and demanded money.

He tells CBS-3 Eyewitness News there was a scuffle over the rifle.

READ MORE: Temple University Student Samuel Sean Collington Killed In Off-Campus Shooting In North Philadelphia

“He tried to grab my wallet and I turned like I was going to get my wallet, but I was just stalling and he hit me really hard in the back of the head with the gun. Swung it like a baseball bat.”

That’s when the pastor’s 38-year-old wife pulled out her gun and shot the suspect once in the leg. He dropped the rifle and took off, hopping on to a moving SUV to escape.

Police found him limping outside Aria Frankford hospital about a mile away and arrested him.

MORE NEWS: 'The Whole World Is Going To See It': Art From Nebinger Elementary Students To Be Featured On National Christmas Tree

He’s being treated for the gunshot wound and is in stable condition.