19-year-old Dauphin resident Randie Oudie appeared in court yesterday.
Oudie was arrested in connection with posting a photo of a handgun to social media, which caused Rossburn Collegiate to go into lock-down.
Once he was arrested near the school, RCMP found a C02 powered replica pistol and some ammunition.
Oudie will appear in Brandon Provincial Court on July 5.