An internal investigation at the Marana Police Department resulted in the firing of one officer and the resignations of three others, according to documents released Friday.

Police officials released details of the investigation into alleged improper use of a computer database and allegedly having sex while on duty.

Officer Dionysius Cazares, 31, was fired on October 27 for computer tampering. She has pleaded not guilty to charges accusing her accessing a computer or computer system to obtain confidential information while off duty.

Officers Kyla Sylvia, Daniel Nicholas, and Keith Storms all resigned from their positions with the department.

On Sept. 17, after the end of her midnight patrol shift, Cazares ran vehicle registration checks on two license plates for personal reasons, not for law enforcement-related reasons, according to the Notice of Disciplinary Action. One of the vehicles was registered to Sylvia.

During the investigation, Cazares told investigators that she had been “involved in a personal relationship with Officer Nicholas and suspected he may also be involved in a personal relationship with Officer Sylvia,” according to police documents.

Nicholas was also on patrol on Sept. 17, and Cazares noticed he spent an extended period of time in a neighborhood outside his assigned district, police documents said.

Cazares told investigators after her shift she went to the neighborhood and ran the license plates to try to determine who he had been spending time with, according to police documents.

A grand jury indicted her on two counts of computer tampering, a class 6 felony, on Oct. 10, police documents said.

According to Marana police documents, Cazares was trained on proper computer use in November 2015.

During the investigation, the Marana Police Department also learned that while on duty, Nicholas had visited Cazares at home for an extended period of time, documents show.

Cazares admitted to investigators that Nicholas would leave and take calls before returning to her house over the course of three to five hours that day, police documents said. Cazares did not report the incident to the department.

Also on or around Oct. 10, the Marana police learned of a report from an anonymous citizen of seeing two officers, a man and a woman, “involved in a ‘romantic moment’ at the El Rio preserve area on July 28.

Police documents said based on shift assignments on that day, the department determined the two officers were Keith Storms and Kyla Sylvia.

Storms admitted during questioning that he and Sylvia had spent “an extended period of time” – approximately three and a half hours, the investigation found – at the preserve while they were supposed to be on patrol, according to police documents. Storms told investigators he and Sylvia only left the area after another officer told them to get back to patrol.

While Storms said he had heard there were rumors of sexual activity between him and Sylvia, he “repeatedly stated that absolutely no conduct of a sexual nature ever occurred” while on duty, police documents stated.

Later, however, Storms admitted to an encounter with Sylvia that happened after a debriefing in July 2017, the document states. According to police documents, Storms told investigators that Sylvia showed him nude photos of herself and he made a lewd comment before placing her hand on his crotch.

Marana police chief Terry Rozema said the accusations were grounds for punishment and dismissal.

"We don't bring our relationships to work," he said. "We're expected to work and do our job — to keep this community safe."

Nicholas resigned effective October 19, Sylvia effective October 20, and Storms effective November 9.

In a Notice of Intended Disciplinary Action on November 7, the Marana Police Department informed Storms they had planned to fire him after completing their investigation.

"The public has to know that they can trust that we're not going to just drive around using police resources for our own benefit," Rozema said.

The Associated Press contributed to this report.