Footage from a South Carolina cop’s bodycam shows him gunning down a 62-year-old man inside of his own home — firing multiple shots through a window pane — after the resident “pointed a weapon” at him, police said Tuesday.

“Motherf–ker! I can’t believe you did this to me,” yelled homeowner Dick Tench, of Simpsonville, after being shot by a Greenville County Sheriff’s deputy on the night of June 14.

“What’s wrong with you?!” he can be heard asking on video, which was released Monday and posted online by the sheriff’s office.

“You pointed a gun at me man!” the deputy replies, to which Tench says: “You’re in my house!”

“I rang your doorbell because we got an alarm call,” the deputy tells him.

“Get the ambulance here, man — I’m going to f–king die,” Tench says, before explaining what happened to the cop and his wife, who was also home at the time.

“I saw lights, and I heard the doorbell ring, and I got my gun,” Tench tells them. “I’m a concealed-weapons guy…You came to my house at 12 o’clock at night, I’m sleeping. Goddamn — I’ve got to protect my house.”

The deputy, whose name has not been released, had been responding to “a panic alarm” that was reported at Tench’s home, according to police officials.

The sexagerian, however, can be heard telling him that they “don’t have an alarm.”

“Oh my God, get the ambulance right now,” Tench repeats. “I’m going to die.”

The bodycam video, which was posted on YouTube, contains a brief statement from police officials — explaining what allegedly happened before the shooting.

“According to the deputy, after noticing the man inside, he illuminates him with his flashlight, and as he did so, the man who was initially walking away from the front door, turned and pointed his gun at him,” said Sheriff’s Office Capt. Tim Brown. “In an effort to defend himself against the perceived threat, the deputy fired his issued weapon as he retreated off the porch and subsequently struck the individual multiple times.”

Statements made by Tench just moments after he was shot implied that he didn’t know there was a police officer outside.

“Oh, my God, call the cops please,” Tench can be heard saying.

“I am the cops,” the deputy tells him.

Paramedics eventually arrived on the scene and rushed Tench to a local hospital with multiple gunshot wounds, according to officials.

His lawyer told reporters on Tuesday that he took bullets to the back and groin — and was also grazed on his forearm and torso.

When cops originally reported the incident several weeks ago, they claimed that Tench had “opened” his front door and “aimed at the deputy” with his gun.

“Obviously that did not happen as we now know from the bodycam footage,” Tench’s attorney, Beattie Ashmore, told NBC News.

The Greenville County sheriff’s office issued a retraction Tuesday, saying the info had been “miscommunicated.”

“The Sheriff’s Office originally released that the homeowner opened the door and pointed a weapon at the Deputy,” officials said. “After a full internal investigation, this statement has proven to be inaccurate and we retract that portion of the original statement. To be clear, at no time during the internal investigation did the Deputy make such a statement, it was miscommunicated that the door was opened.”

The sheriff’s office claimed that it “strives to be transparent in our duties and get information out to the public as quickly as possible” — but “in the haste of releasing information,” had made a mistake.

“We erred and regret any confusion this has caused,” officials said. “We remain committed to serving the citizens of Greenville County and releasing information that is timely but accurate.”

The deputy involved in the shooting has been placed on administrative leave, according to authorities. An internal investigation has been launched to determine whether his alleged actions “were consistent with the strict guidelines and standards set forth in the sheriff’s office policy.”