A Quincy woman who terrorized “House of Cards” star Kevin Spacey for two years in a “persistent and malevolent” manner was sentenced to more than four years in federal prison yesterday and was ordered to re-imburse the Academy Award winner for the nearly $124,000 he paid for bodyguards.

“I didn’t mean it to be as vindictive as it came out,” Linda Louise Culkin, 55, told federal Judge George A. O’Toole Jr., who was unswayed by her remorse and whacked her with the top end of what sentencing guidelines allow.

“It is difficult to measure the degree of terror this situation has caused,” Spacey said in a victim impact statement, citing Culkin’s “relentless pursuit” via mail, bomb threats and social media. Spacey did not ?attend the sentencing yesterday.

“Yes, it’s true, I was relentless,” said Culkin, who pleaded guilty last November to charges of mailing threatening communications as well as sending threats and false information regarding explosives.

“I have some mental-­health issues,” she continued. “I was overzealous. I cop to that. I fully apologize to him. I didn’t mean it to be so harsh.”

During her two­-year reign of terror, Culkin threatened Spacey with torture, castration and disembowelment and said she would blow him to smithereens.

Culkin’s public defender Inga L. Parsons said her client, already behind bars two years, has “been kicked, she’s been bitten, she’s been hit,” by other inmates who learned she’d been terrorizing Spacey, who won Oscars in 1996 for “The Usual Suspects” and in 2000 for “American Beauty.”