DENTON -- A man arrested in Denton in connection to a string of burglaries is also a suspect in two sexual assault cases out of Dallas, according to a police affidavit.

Earl Leroy Thompson, Jr., 32, was arrested June 2 on two warrants for attempted burglary with the intent to commit a felony, Denton police say.

Police say Thomas confessed to committing three other burglaries between February and May, and said he intended to sexually assault the victims.

According to an affidavit, one victim reported that on several mornings, she heard knocking at the door of her home in the 1600 block of West Oak Street, but when she looked out the peephole, no one was there.

However, during the early morning hours on May 3, a man was able to enter her home after she accidentally left a door unlocked. She told police she saw the man standing in her bedroom when she awoke at about 4:30 a.m. The man then attempted to sexually assault her, but left with her phone when he was unsuccessful.

Four days before that, another woman became concerned by a man who she said walked uncomfortably close to her as she entered her Denton apartment, also located on West Oak Street, at about 1:15 a.m. She reported that she later heard knocking at her door at about 5:30 a.m. but saw no one when she looked through the peephole. Not long after, a maintenance man found a pair of latex gloves outside her window, where the window screen had been removed. The woman reported the incident to police on May 4.

On May 9, another woman called police when she witnessed a man running from one end of a building to the other at an apartment complex in the 1700 block of West Oak Street. According to an affidavit, responding officers spotted Thompson in the area wearing clothes that matched the description given by the caller. Authorities said Thompson told the officers he was walking from work to his girlfriend's apartment, but then admitted he was lying.

"Thompson became a person of interest and Denton police Investigators placed him under intensive surveillance while continuing to pursue forensic evidence," police said.

Denton police began surveillance on Thompson on May 16 through May 31. During that time, investigators watched Thompson leave his work and walk around apartment complexes on Bernard, West Oak and Withers streets. Investigators reported they observed Thompson look into apartment windows and in several cases appear to attempt to open them. Police then requested arrest warrants.

According to the affidavit, Dallas police reported that Thompson is also a suspect in two sexual assault cases involving prostitutes.

Thompson's pending charges stemmed from burglaries committed on West Oak Street in February and in May, as well as one on West Hickory Street in May.