A 20-year-old Ottawa man is facing a charge of child luring after an undercover Ottawa police officer posed as a 14-year-old girl on a social media site.

Ottawa police say the man made arrangements to meet the “girl” at a predetermined location for a sexual encounter.

Police then arrested him there.

The man is charged with two counts of computer contact with a person under 18 years of age, one count of computer contact with a person under 16 years of age for a sexual purpose and one count of breach of probation.

The man was scheduled to appear in court on Saturday for a bail hearing.