The wife of Alabama Gov. Robert Bentley realized he was having an affair with his married chief adviser when she saw romantic messages on his state-issued iPad, which the governor didn’t know was paired with his iCloud messaging account, according to a blockbuster report.

“I’m so in love with you,” Bentley apparently wrote in one text, along with two heart-eye emojis. “We are pitiful.”

Dianne Bentley — who has since divorced the 74-year-old grandfather from Tuscaloosa — showed the iPad to her family to confirm suspicions of the illicit affair.

Details from the 3,000-page report, compiled by Jack Sharman, the attorney for the legislative committee investigating Bentley, were expected to be used in Bentley’s impeachment hearings.

Read:Embattled Alabama governor resigns amid scandal

The salacious report also revealed that Dianne received text messages on her phone — sent mistakenly by Bentley — in which the governor professed his love for aide Rebekah Mason, whom he routinely called “baby” in official meetings.

A 130-page summary of the report, released Saturday, paints Bentley as possibly suffering from dementia. “Several witnesses also told us that there was a belief among the Bentley children that their father may have been suffering dementia or other health problems,” it read. “Witnesses also told us that there was an effort by the Bentley children to have their father evaluated by medical specialists outside of Alabama. Such a medical intervention never came to fruition.

The committee said his “obsession and paranoia” led him to use state resources to conduct — and, apparently, to break off — his affair.

Bentley denies a “physical affair” took place but has apologized for making “inappropriate remarks” to Mason.

This story originally appeared at NYPost.com.