When he came back, the homeowner claims he picked up a boulder, threw it into the door and shattered all the glass.

“I was only eight feet from him,” Wright said, which is when he said he fired two warning shots. But Miller continued to aggressively charge toward the him.

In fear for his and his wife's life, Wright told Channel 11 he had no choice but to shoot Miller in the leg.

Miller was taken to Allegheny General Hospital for treatment and released.

He's now behind bars at the Butler County Prison.

“Turn your life around. Live your life...don't throw it away,” Wright said.

Miller is facing several charges, including burglary, theft of a motor vehicle and drug charges.

His preliminary hearing is scheduled for Wednesday.