Matt Chandler, the lead pastor at the Village Church,celebrated his reinstatement to the pulpiton Sunday, months after he stepped away from his role following “concerns” aboutmessages he exchanged with a woman who is not his wife.

Chandler, 48,addressed the congregationat the Southern Baptist church in Flower Mound, Texas, this week for the first time since August, after an investigation found the messages to be inappropriate.

“I’m sorry,” he later admitted. “I failed you.”

Without going into specifics, he shed a little light on the “work” he did during his time away.

“The elders asked me to do two intensives and then a neurological exam,” he said, going on to explain that he was diagnosed with brain cancer in 2009 and had to undergo surgery.

Chandler said that the “process has given me insight into exactly what happened,” noting that he would probably “share more” in time.

Later, lead pastor Josh Patterson brought church elders to the stage for “a restorative prayer” to welcome Chandler back.

Matt Chandler.The Village Church - Flower Mound/Facebook

Pastor Matt Chandler

In August, church elders said Chandler had been approached regarding “concerns about the way he was using direct messaging on social mediawith a woman who was not his wife.” An inquiry into his messaging history found that “while the messages were not romantic or sexual in nature, the frequency and familiarity of the messages crossed a line.”

Chandler later told his congregation that initially he “didn’t think” he’d “done anything wrong” and that both his wife and the woman’s husband were aware of the conversations.

“[The church’s] concerns were not that our messaging was romantic or sexual, it was that our conversations were unguarded and unwise,” he told church members at the time. “As an elder, I’m held to a higher standard and fell short of that higher standard.”

That plan reportedly included Scripture reading, prayer, personal reflection, and “multiple intensives with trusted outside experts.”

She also said that there was no evidence Chandler’s cancer was back.

Never miss a story — sign up forPEOPLE’s free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human interest stories.

During Sunday’s service, Patterson said the “plan” was made with both “discipline” and “development” in mind — and that “Matt has completed everything that we’ve asked of him.”

“He’s done it with eagerness, he’s done it with humility, he’s done it genuinely and authentically,” he said. “Those closest to Matt have seen these aspects of change and I’m grateful for that.”

In an Instagram post from Oct. 23, the first one he made after his leave of absence was announced, Chandler wrote that his faith was on his mind, no matter what he was doing.

“‘Jesus I don’t want to do this without you,” he wrote. “That sentence has been my mantra these past few months. It has rolled through my mind and heart on repeat. Whether it has been going on a walk, heading out to our river cabin or even walking into Jiu Jitsu.”

“Amen. Love you, babe 💜,” his wife commented.

Matt Chandler and wife Lauren Chandler.Matt Chandler/Instagram

Married Megachurch Pastor Who Stepped Away After Messaging Another Woman Returns to Pulpit

“Although I didn’t get one this year,” he said of hunting elk, “I did see a moose, mountain lion and hiked above 10,000 ft in sub 20 degree temps multiple days.”

Also that month, Chandler’s wife shared a photo of the pairattending a gala.

On Thanksgiving, Chandler alsoreflected on his experience with brain cancer, which led to a “brutal” holiday season 13 years ago.

“I always want to post something on Thanksgiving because I vividly remember what is was like to see loss everywhere. I want to remind you in this season that HE hasn’t abandoned you or forgotten you. To tell you that this season will too pass,” he added.

As he prepared to make his return to the pulpit, Chandler marked his 20th anniversary with the church on Friday, though church officials have said that the timing of his reinstatement was not planned ahead of time.

In order to “assess and affirm readiness,” Patterson said during Sunday’s service that “elders relied on a multidisciplinary team” — and that the timing just happened to coincide with the milestone.

“We didn’t plan it this way, and this wasn’t the day we had circled on the calendar way back when, we didn’t have a day circled on the calendar,” he said. “What we wanted to do was reinstate Matt when the time is right and that is now.”

source: people.com