A man who once had ties to the University of Waterloo is facing charges related to making child pornography.

Hugh Alexander "Sandy" Thorburn, 49, of Toronto was arrested on Friday in the parking lot of a Barrie hotel after months of investigation.

Ontario Provincial Police say at the time of his arrest he was with a 17-year-old girl for the purpose of making child pornography.

The University of Waterloo confirmed Thorburn once worked as a sessional music lecturer at affiliate institution Conrad Grebel University College.

He was employed periodically from September 2005 until April 30, 2012 when his contract expired.

There was no plan for Thorburn to return.

Thorburn photographed girls, police say

OPP launched an investigation after a number of teenage girls in the Barrie and Orillia area complained to them about being contacted online by a person pretending to represent modeling agencies.

Thorburn offered to pay the girls to photograph them, police said. They alleged Thorburn, who used the aliases Ryan Wardel, Lydia Lensky, Theron Spyra and Andre Stein, had several paid meetings with the teens in which he photographed the girls for the purposes of making child pornography.

Thorburn is accused of offering to pay the teens for sex during those meetings.

Police raided Thorburn's home in Toronto on Saturday, where investigators seized several electronic devices.

Thorburn is charged with two counts of internet luring, two counts of juvenile prostitution, one count of making child pornography and one count of possession of child pornography.

Thorburn is in custody and is due to appear at a bail hearing in Barrie next Tuesday.

The OPP is asking anyone who may have had dealings with Thorburn, his alleged aliases or agencies he purported to represent to contact the child exploitation unit at (705) 330-3240.