After the suspect was spotted in Madison County, schools were locked down for more than two hours beyond dismissal time.
According to The Jackson Sun, officers arrested 41-year-old Dustan Smith, who was spotted running from a Dollar General Store near Rose Hill Middle School on Wednesday afternoon.
Smith was sought in two break-ins in neighboring Henderson County.
Authorities said women in two Lexington homes said they awakened on Saturday to find Smith in their homes naked. One reported he was one top of her when she woke up.
He was jailed on charges of burglary and sexual battery.
Smith was held at the Henderson County Jail on Thursday in lieu of $50,000 bond. His next court appearance was scheduled for Aug. 27 and jail records did not show whether he had an attorney.
After authorities saw Smith in Madison County, the middle school was locked down at about 1:15 p.m. The school is a half-mile from the store where Smith was spotted.
"We were in lockdown until around 4:30," said Ned Lewis, the principal at the school. Normal dismissal time is 2:15 p.m.
Lewis said high school students were already aboard buses that also pick up middle school students when the alert came in. Those students were taken off the buses and sheltered at the middle school until the arrest was made.