Windsor police have identified the man arrested in connection with robberies at five Subway Restaurant locations in Windsor as Joshua Dumanski.

The robberies took place from July 28 to Aug. 12 in the Windsor area.

Dumanski, 27, of Sault Ste. Marie, Ont., was arrested Wednesday in Toronto as he got off a Greyhound bus.

He has since been returned to Windsor and charged with five counts of robbery.

Appearing in court Friday, Dumanski was remanded in custody.

Police say the investigation was aided by social media.