A Texas megachurch pastor is taking a leave of absence after his church learned of frequent messages between him and a woman who is not his wife.

Matt Chandler, the lead pastor at the Village Church in Flower Mound, about 30 miles northwest of Dallas, told his congregation on Sunday the move was prompted by what the church’s leaders called inappropriate messages between the pair.

In the statement recorded and shared to the church’s website, the pastor explained that a few months back, a woman approached him in the church’s foyer with concerns about “how I was (direct messaging) on Instagram with a friend of hers.”

I didn’t think I had done anything wrong in that,” Chandler, 48, told the congregation. “My wife knew that, her husband knew that, and yet there were a couple of things that she said that were disorienting to me.”

“I’m just really embarrassed, feel stupid... I feel like I'm embarrassing my wife and kids,” Chandler told the congregation Sunday. “I’m held to a higher standard and fell short of that higher standard.”

"The elders of The Village Church decided that Matt’s leave of absence would be from teaching and preaching. The Acts 29 Board has decided to follow the lead of TVC and ask Matt to step away from his Acts 29 speaking engagements during this time. Executive Director Brian Howard, who has provided day-to-day leadership for Acts 29 since May 2020, will continue to lead Acts 29 in our commitment to plant disciple-making churches worldwide."

According to his online church profile, Chandler married his wife in 1999 and they have three children. In 2002, he became pastor of First Baptist Church of Highland Village, now called The Village Church.

In 2009, he was diagnosed with brain cancer, underwent brain surgery and was declared cancer-free in 2010

Also on Aug. 1, The Village Church announced on its website that it had settled a 2019 lawsuit alleging that one of its former children's ministers molested an 11-year-old girl. The criminal case against the minister was dropped in 2020, Religion News Services reported.