"Just do it!" speech motivator Shia LaBeouf gets vulnerable about his mental health and reveals how his beliefs saved his life.

In a recent episode of "Bishop Barron Presents", the "Transformers" actor talked about one of the darkest points in his life and reflected on how religion pulled him out of it.

LaBeouf, who came from a Jewish and Christian household, revealed that he had converted to Catholicism in 2019. This decision stemmed from his upcoming role as priest Francesco Forgione in the biopic, "Padre Pio". A part of his preparation included staying at a seminary in San Lorenzo.

"It was seeing other people who have sinned beyond anything I could ever conceptualize also being found in Christ that made me feel like, 'Oh, that gives me hope,'" LaBeouf explained. "I started hearing experiences of other depraved people who had found their way in this, and it made me feel like I had permission."

According to the 36 year old actor, he had been in a "deep shame" that made him feel lost amidst his personal life and acting career. During this time, LaBeouf  had been drawn to spirituality while internally battling his thoughts of suicide.

"I had a gun on the table. I was outta here," LaBeouf detailed. "I didn't want to be alive anymore when all this happened. Shame like I had never experienced before-the kind of shame that you forget how to breathe. You don't know where to go."

READ ALSO: 'SNL' in Hot Water? Sexual Assault Victim Claims Reality Stars Hosted Predatory After-party

Start of Shia LaBeouf's Redemption Arc?

Recently, the "Honey Boy" star had been involved in a series of controversial headlines as his ex-girlfriend, FKA Twigs, filed a sexual assault lawsuit against him. In 2020, the actor had also been charged with misdemeanor battery and petty theft.

E-News reports that following his road to Catholicism, LaBeouf was able to reconnect with his mother. She had allegedly felt "embarrassed beyond all imagination" when the troubling allegations against him surfaced.

The actor also has a history of court-ordered rehabilitation for disorderly conduct and childhood trauma. In a recent statement to the New York Times, the veteran actor acknowledged his abusive behavior and apologized to the people he had hurt. Despite this, he still denies "each and every allegation" against him by ex-girlfriend FKA Twigs.

LaBeouf and singer FKA Twigs is set to meet in court on April 17, 2023 to settle the sexual battery and assault lawsuit against him.

READ ALSO: 'Gilmore Girls' Problematic? Scott Patterson Speaks Out on Feeling 'Uncomfortable' in THIS Scene