Wendell Ray Lewis - longtime security chief and sometimes confidante to Gov. Robert Bentley - today filed suit against the governor, revealing sordid details about Bentley's relationship with former aide Rebekah Mason.

The unlawful termination suit, which also names as defendants Mason, her company RCM Communications and ACEGov, the dark money group that helped pay her salary, claims "Bentley had a physical and sexual affair with Defendant Mason, which the governor confirmed to Plaintiff."

Among the other claims -- many of which are disputed by the governor:

Bentley confided to Lewis that he loved Mason. "One time, on the front porch of the Governor's Tuscaloosa home, he also told (Lewis), 'I love Dianne. But I love Rebekah more.'"

Bentley revealed to Lewis that he had been involved in a relationship with Mason after he learned his family had a recording of his conversations. He told Lewis: "I am ashamed of what came out of my mouth. I am ashamed of what I have done."

Lewis asked Bentley: "Governor, there's a lot of talk going on. Was it a physical relationship?" The governor replied: "Yeah, it was physical."

Lewis warned that the affair was a problem for the governor because "we use state vehicles, we use state planes, to move about. You're requesting to put her in there, that's a problem." That prompted the governor to say "Ray, I know. I need you to go upstairs and break up with Rebekah for me." And Lewis went.

Bentley, a doctor, wrote prescriptions for Mason, and Lewis saw text messages related to them. Bentley also ordered generic Viagra in his wife's name and had it shipped to the governor's mansion.

A number of people, including Lewis, Bentley legal counsel David Byrne, chief of staff Seth Hammett and former Business Council of Alabama head Bill O'Connor, all went separately to Bentley to plead with him to end the affair with Mason. "None of them succeeded.

Lewis spent an awkward and tearful hour "breaking up" with Mason, telling her "You can't be his girlfriend and have him take you around in state cars and planes," and Mason said "I know. But then Bentley walked in and began to rub Mason's shoulders. He said "Baby, it's gonna be alright." And the two remained together.

Bentley's ex-wife Dianne Bentley learned of the affair after members of the governor's staff decided Bentley should use an iPad. His staff either did not tell him his iPad was synced to his iPhone, or he did not understand what it meant. So when he gave the iPad to Mrs. Bentley, he did not know she would receive his "steamy cell phone text messages to Mrs. Mason on the iPad."

Current Alabama Law Enforcement Agency Secretary Stan Stabler lied when he claimed he had not seen a compromising text message from Bentley to Mason.

Stabler is cited in the complaint as saying Bentley and Mason began meeting in the Blount House in Montgomery because it did not keep visitor logs.

O'Connor, a power political operative and former head of the BCA, met with Lewis and said "We created Rebekah, but it wasn't to sleep with the Governor."

In August 2014, after Lewis told Bentley he could not put Mason on a state plane, the governor leased a plane for his campaign.

Bentley chose private planes because they "did not have to keep a manifest," and many on staff were uncomfortable. "On the plane, Mason would sit across from the governor and discreetly touch his leg," the complaint says. One staffer, Zach Lee, "was concerned that 'the Governor was losing it.'"

When Lewis and former ALEA secretary Spencer Collier pleaded with Bentley to end the affair, "The governor, crying, replied "Spencer, how did you end yours?" Collier replied "Governor, I just cut if off at the nub. You're just gonna have to cut it off at the nub....It's gonna bleed, but you will eventually get over it.'"

During the 2014 gubernatorial campaign Bentley had Collier "move money around" to pay several members of the governor's staff, including Jon Barganier, Stephanie Azar and Byrne so that almost half a million dollars in salary would not show up on the governor's budget. "According to Collier, those monies were federal funds and came from the Department of Homeland security."

Lewis argued that in 2014 "whatever people may say, Rebekah Mason was the governor of Alabama. People could talk to the governor, but whatever Rebekah said went."

Wanda Kelly, the governor's secretary, was the first to know of the affair. "Once the governor told Lewis, 'I think Wanda puts her ear to my door.'" He said he wanted "Wanda gone."