LOS ANGELES -- "NCIS" actress Pauley Perrette was attacked in front of her Hollywood home Thursday night and left "shaken and traumatized," she tweeted.
"On my street, I was jumped by a VERY psychotic homeless man," she wrote.
The man grabbed Perrette, pinned her arm, punched her in the nose and forehead and "repeatedly" told her that he was going to kill her.
"I was alone, terrified and trapped," Perrette wrote. "There was an empty garage behind me and I knew if he got me in there I was dead."
Listen to our sister-station KTLA's interview with Perrette in the video above.
Perrette said she prayed and tried to connect with the man. The man finally told her to "get the f*** out of here. And I did," Perrette wrote, adding that she collapsed on the sidewalk in shock.
She texted two friends and provided a sketch of the man, who was headed toward Hollywood Boulevard.
Officer Ricardo Hernandez of the Los Angeles Police Department confirmed Perrette's story, noting that a call came in about 5:15 p.m. Shortly thereafter, the LAPD arrested a 45-year-old white man on suspicion of felony battery. He is in jail in lieu of $100,000 bail.
CNN is seeking comment from the suspect's attorney.
Perrette, who plays forensic scientist Abby Sciuto on CBS' longtime hit "NCIS," has been active in a variety of civil and human rights causes. In her tweet, she urged better mental health care, care for the homeless and support for police.
"We need to not walk alone," she wrote.
But, she added, she needs time to recover from the incident.
"I need to heal," she wrote. "I almost died tonight."