They say a father will do anything to protect his daughter. Jay Maynor didn’t get the chance when she was being sexually abused, so 13 years later, he took matters into his own hands and murdered his daughter’s abuser.

Maynor, 43, was sentenced 40 years in prison after pleading guilty to shooting and killing 59-year-old Raymond Earl Brooks in June 2014 during a court hearing on Monday in Cullman County, Ala. Maynor’s daughter, Julia Maynor, now 24 and a mother of three, was Brooks’ adopted granddaughter.

Maynor took a plea to protect his daughter from having to testify in the trial and relive the memories of being sexually abused for what she was a period of four or five years.

RELATED: Dax Shephard made a shocking confession from his childhood that no one saw coming

“Basically, he took it so that I didn’t have to relive the molestation and also be on the stand in front of a bunch of people talking about and bringing back memories of the molestation,” Julia Maynor said. “My father was protecting me, like a father should do. He is an amazing father — actually the best. He loves us so much.”

Julia Maynor said she thinks the sentence is unfair, because her father was simply trying to protect his child. But the story takes a strange twist on the day of the murder. Jay Maynor was prompted to go after Brooks after all those years because of something Julia said that agitated him.

He hopped on his motorcycle and headed to Brooks’s home, but on the way he also fired shots into a convenience store along the highway. He fired into the Berlin Plaza Quick Stop because he happened to see a man who had been dating his stepdaughter, and the man allegedly had been abusive toward her.

RELATED: Oprah Winfrey’s television network has been slapped with a huge sexual assault law suit

The man hid inside the store and was unharmed, but the shooting garnered Jay Maynor another 20 years in prison, to be served concurrently with the murder sentence.

Brooks pleaded guilty to sexual abuse in 2002. Although he was sentenced to five years in prison, he later received probation, court records show, after serving only 27 months.

“I’m going through hell,” Julia Maynor said. “Everything comes back to me as to why this has happened. I feel like it’s my fault. I’m sad but yet mad.”