The transient man who allegedly attackedNCIS star Pauley Perrette last week has been charged, ET can confirm.
David Merck was charged with attacking and threatening the 46-year-old actress, and could face up to four years in prison if convicted.
"Merck allegedly grabbed the actress, one of the stars on NCIS, punched her and threatened to kill her before running off," a representative from the Los Angeles County District Attorney's Office said on Monday. "He was arrested about an hour later. He is charged with one felony count each of making a criminal threat and false imprisonment by violence."
WATCH: Pauley Perrette Was 'Crying All Night' After Attack: I Believed He Was Going to Kill Me
After her attack, Pauley told ET that she had cried all night.
"He told me he was going to kill me several times and I absolutely believed him," she recalled. "I prayed as hard as I've ever prayed for anything ever in my life, and I didn't do anything. I thought, anything I do would escalate the situation -- I couldn't overcome him, he was stronger than me."
"I took a pen and I immediately, in shock, like drew a picture of the guy, 'cause I didn't have a camera," Pauley added. "The guy looks exactly like the thing that I drew."
WATCH: Pauley Perrette Comforted by Her Church Congregation Following Violent Attack
Later, LAPD confirmed with ET they booked a 45-year-old white male suspect named David Merck on felony battery charges after arresting him at a 7-Eleven in Hollywood.
Pauley, who supports efforts to help the homeless, spoke sympathetically about her alleged attacker.
"[My heart] breaks for every single person that's out there on the streets," she said, "especially [those] with undiagnosed or untreated mental illness."
"I'm glad I lived," she said, adding of her alleged attacker, "I'm glad he didn't kill me, but whatever, he doesn't know who I am. He doesn't know. He's mentally ill and he has no support."
WATCH: First Look at Pauley Perrette's Sketch of Her Alleged Attacker That Led to an Arrest
Meanwhile, Paulie was spotted going to church on Sunday. An eyewitness at the Hollywood United Methodist Church told ET that the actress was in "good spirits," and the pastor directly addressed the incident, saying, "When Pauley was telling her story to the media on Friday, first by proclaiming herself as a person of faith. ...Second, she proclaimed her forgiveness for the man who assaulted her. And third, she not only called attention to the critical need for mental health services in our country but especially here in Hollywood."
Watch more on Pauley's day in church after being attacked below.