An 18-year-old man has been charged with trying to rape his friend's mother during a sleepover in Tennessee.

Police said Jordan Corter and other "boys" showed up about 8.30pm at the woman's home in Arlington, outside Memphis.

About 10 minutes after the friend of the woman's son arrived, she collected all the alcohol in the house and locked herself in her bedroom, a sheriff's investigator wrote in an affidavit obtained by local TV station WREG.

She was allegedly woken "at 0230 hours to Jordan Corter knocking on her bedroom door".

The woman, who police have not named, answered the door, thinking something was wrong. "Jordan forced himself into the bedroom and locked the door behind him," she later told police.

She claimed he pushed her to the bed and put a hand down her shorts. In a subsequent interview, the affidavit continued, Mr Corter wept and told police "he basically forced her to do something she didn't want to do" and "should not be forgiven".

He allegedly tried to rape the woman, Fox 13 in Memphis reported, but she broke free, giving herself a black eye in the struggle. She told investigators she kneed him in the groin and got to a pistol she kept in the bedroom.

"Police said the woman then placed the gun in the man's face and told him to leave," Fox 13 reported.

According to the affidavit, the woman's boss noticed her condition when she went to work the next day and convinced her to phone the authorities.

Mr Corter was subsequently arrested, charged with sexual battery and attempted rape and released on bail. He could not be contacted, and a spokesman for the Shelby County Sheriff's Office told The Washington Post no details would be released while the case is investigated.

A man who answered the door at Mr Corter's house told WREG he had just graduated from high school and was "a good kid".

Students walk out of US schools to protest gun violence Show all 10 1 /10 Students walk out of US schools to protest gun violence Students walk out of US schools to protest gun violence Young people march from the White House to Capitol Hill while participating in the national school walkout over gun violence. EPA Students walk out of US schools to protest gun violence Thousands of local students march down Pennsylvania Avenue from the White House to the US Capitol during a nationwide student walkout for gun control. AFP/Getty Students walk out of US schools to protest gun violence A student has the words,'don't shoot,' written on her hands as she joins with other students at Marjory Stoneman Douglas High School after walking out of their school to honor the memories of 17 students and teachers that were killed. Getty Students walk out of US schools to protest gun violence Students take part in a walkout at General McLane High School. AP Students walk out of US schools to protest gun violence Students from Harvest Collegiate High School stand in Washington Square Park in New York to take part in a national walkout to protest gun violence. AFP/Getty Students walk out of US schools to protest gun violence Students rally in front of the White House in Washington after walking out of school to protest gun violence in the biggest demonstration yet of the student activism that has emerged in response to last month's massacre of 17 people at Florida's Marjory Stoneman Douglas High School. AP Students walk out of US schools to protest gun violence Airport High School juniors Tony LaFata, 16, left, and Noah Doederlein, 17, stands for a moment of silence during a walkout at General McLane High School. AP Students walk out of US schools to protest gun violence Young people rally on the West Front of the US Capitol to participate in the national school walkout over gun violence, in Washington. EPA Students walk out of US schools to protest gun violence Students from Passaic High School hold photos of some of the 17 victims killed at Marjory Stoneman Douglas High School. AP Students walk out of US schools to protest gun violence Students join hands as they take part in a student walkout in Lafayette. AP

Such cases often make the news - as when two men grabbed their firearms and killed a gunman at an Oklahoma restaurant, likely saving other lives, or when an armed bystander chased down the suspect in last year's Texas church massacre. Aligning himself with the National Rifle Association and gun lobby, President Donald Trump has proposed arming teachers in an attempt to stop school massacres.

But as The Washington Post wrote in 2016, a Harvard University study found that despite the country's millions of household guns, the weapons were used in self-defence in fewer than 1 per cent of crimes during a five-year period.

In those cases, the researchers wrote, they did about as much harm as good. "The likelihood of injury when there was a self-defence gun use (10.9 per cent) was basically identical to the likelihood of injury when the victim took no action at all (11.0 per cent)."

The leader of that research, David Hemenway, wrote in the Los Angeles Times that another study found that out of 1,100 sexual assaults, only one victim used a gun for protection.