A New York City man has been charged with manslaughter after beating to death a man who had just attacked his wife inside their home.

According to the New York Post, 61-year-old Mamadou Diallo, received a call Monday night from his wife after 43-year-old Earl Nash broke into their home and attempted to rape her.

The woman was able to break free after her clothes had been torn off and call her husband, who was out at the time.

Mamadou Diallo was arrested after allegedly killing wife's would-be rapist in the Bronx https://t.co/GM2M1QPmAW pic.twitter.com/tRAxjehQSY — PIX11 News (@PIX11News) May 31, 2016

Father Chops Off Hands of Teen Who Allegedly Raped His Baby Daughter

State Dept Audit Uncovers Three 'Mystery' Emails About Clinton's Private Server

Police said Diallo ran inside and found Nash in a hallway of the Bronx apartment building, where he beat him severely with a tire iron.

Nash was rushed to a nearby hospital but did not survive his injuries.

Diallo was quickly taken into custody and now faces a manslaughter charge.

UPDATE, 1:50pm ET: Diallo, a livery driver from Guinea, was photographed being led out of a police precinct in handcuffs Tuesday morning.

"He threatened my wife," Diallo told reporters.

According to DNAInfo, Nenagale Diallo opened the door when Nash knocked, thinking it was one of her kids.

She said Nash forced his way in and told her that he was going to rape her. She said Nash struck her repeatedly in the head, including with a chair as he tore her clothes off.

UPDATES: Ex-con who told woman "I'm going to rape you'" was killed by husband, victim says: https://t.co/08SieN8Cy4 pic.twitter.com/RQXYzEkqjv — DNAinfo New York (@DNAinfo) May 31, 2016

At one point, she was able to break free and run to the door, where she screamed for help before Nash grabbed her again.

DNAInfo reported:

Police said Nenegale's sister helped to pull Nash off of her, and Nenegale managed to grab her phone in the fray. "I took my phone and see my husband's number first. I pressed the number. I made a loud noise, screaming, 'Please, help me! Help me! Call the police!' They he slapped me again. The phone is falling, but I was making noise so my husband could hear the noise," she said. It took Mamadou about 20 minutes to return home, Nenegale estimated.

Nash had reportedly been arrested more than a dozen times since 1997.

Adele Calls Out Fan Filming Her Concert: 'Enjoy It in Real-Life'

Woman's 'Hot' Mugshot Has Social Media Users Swooning

The Internet Is Going Crazy for This Baby Who Looks Like Gordon Ramsay

Navy Vet Nearly Killed When Road-Raging Driver Runs Over His Motorcycle

Man Arrested for Mowing Down Memorial Day Cross Display