Police say Karl Dalley, 41, was looking at e-mails and photos on Kristin Dalley’s computer, as well as telephone records on her cell phone. The affidavit said Kristin Dalley contacted police after Karl Dalley had mentioned several things that he would have not known if he had not gone through her personal e-mails.

She confronted Karl Dalley and he admitted to installing spyware on her personal laptop, saying it was to keep an eye on their children, the affidavit said. It also said that state and federal law makes the monitoring of non-consenting adults illegal in most cases.

A search of Karl Dalley’s home computer showed two different purchases of the spyware and personal e-mails belonging to Kristin Dalley, according to the affidavit.

Karl Dalley faces up to 20 years in prison and a $10,000 fine if convicted. He was charged and his bail was set at $15,000. Records show he was not in the Travis County Jail.