BELOIT, Wis. -

A man convicted of armed robbery and kidnapping was sentenced Friday to 35 years in prison.

Edward Dean Cox's prison term will be followed by 20 years of supervision by the Department of Corrections.

The Beloit Police Department said Cox was arrested in connection with crimes committed in December 2011 and January 2012.

On Jan. 10, 2012, a Beloit police officer stopped and identified Cox, who matched the description of the suspect in a Dec. 5, 2011, sexual assault, according to a Beloit Police Department news release.

As the officer was approaching Cox, a witness told the officer that Cox had just been chasing a female on foot. Police said Cox had a large knife and was taken into custody on a charge of carrying a concealed weapon.

Within moments, the female victim reported from a nearby business that Cox had just attempted to rob her of her purse while threatening her with a knife, according to the Beloit Police Department. Police said Cox was arrested on suspicion of attempted armed robbery.

The Beloit Police Department said a detective interviewed Cox regarding the Dec. 5, 2011, incident, and Cox implicated himself in it.

In that attack, Cox robbed a woman and her son at knifepoint of their cash and cellphones and then sexually assaulted the woman inside the Excalibur Laundry Mat, 1649 Park Ave., according to the Beloit Police Department.

Charges against Cox of first-degree sexual assault with the use of a dangerous weapon and causing a child age 13-18 to view sexual activity were dismissed as part of a guilty-plea deal, but the charges were read into record.