A man will now serve a life sentence after he confessed to murder nearly three years later.

Danny Dashay Holmes shocked the courtroom in Tennesse on August 23 when he pleaded guilty to first-degree murder, kidnapping, robbery and criminal impersonation of law enforcement. The victim was Cesar Lopez-Flores.

Holmes gave a 20-minute statement to the court explaining why he decided to confess to the murder, according to News 9. He told the court that over a year ago God had changed his life.

"I knew the Lord was just on me, weighing on me over and over," Holmes says.

"I'm 30-years-old, and I've been fighting for nothing all my life. I've been fighting for gangs. ... I ain't never fought for anything that made sense. But I knew the Lord was telling me to fight for Him this time. I just knew He was stirring on my spirit."

Holmes says that it was Big Daddy Weave's song 'Redeemed' which led him to confess. He brought a notebook with the song's lyrics with him into the courtroom.

"And if I didn't want to tell the truth, I should've never brought that notebook," Holmes says.

After reading the lyrics, "Then You look at this prisoner and say to me, 'Son, stop fighting a fight that's already been won,'" he made up his mind to confess to the murder.

Holmes says he deserves the life sentence. He plans to spend his time in prison ministering to inmates and preaching salvation through Jesus.

"We are continually amazed at how God has used this song," Big Daddy Weave's lead singer Mike Weaver tells the Christian Post.

"The moment we started singing 'Redeemed' stories began to pour in of God’s grace. But as a band, we have nothing to do with the stories we hear about the song, it’s only Jesus. Only He can use a song in this way. We’re so thankful for all God continues to do,” Weaver said in response to the confession of Danny Dashay Holmes."