46th Anniversary Gala Vanguard Awards - Arrivals"NCIS" star Pauley Perrette has detailed a horrific attack that she says was carried out by a "psychotic homeless man," writing on Twitter that she "almost died" after the alleged assault.

Perrette wrote a missive that she posted in the wee hours of Friday about an attack she says happened on Thursday night in Hollywood. The actress was walking to a guest house that she owns when she was "jumped by a VERY psychotic homeless man" who she says launched a brutal, unrelenting assault on her, with multiple threats to end her life.

"He grabbed me so forcefully, pinned my arm, punched me in the nose, forehead repeatedly telling me he was going to kill me," Perrette wrote of the attack.

It was some quick thinking on the actress's part that ultimately saved her, she said: The attacker identified himself as William, and Perrette said she had a nephew of the same name. After a few more punches, the man ordered her to flee, Perrette wrote.

The actress said she quickly drew up a police sketch of the man and contacted a friend who works in law enforcement; another friend tracked down the attacker, and the police soon arrested him, charging him with felony assault. Perrette wrote that she felt "shaken and traumatized" by the incident, adding, "My life changed tonight." She also called for better help and care for the homeless -- including mental health counseling and shelter services -- as well as more support for police.

"I almost died tonight," Perrette wrote.

Read her entire account of the chilling incident below.

[via: Pauley Perrette]

Photo credit: Getty Images