A first-year law student has been arrested after shots were fired in a student apartment building Saturday morning at York University.

Police were called to 360 Assiniboine Rd., located on the southern boundary of the campus around 6:45 a.m.

Police said someone fired a shotgun at the door, causing projectiles to go through the door and into the apartment. A female student was in the apartment at the time but didn’t suffer any injuries.

During investigation, police learned that the occupant of the apartment had issues with the door and its lock.

“We believe that somebody was tampering with her door, but we don’t know the reasons why,” Det. Sgt. Al Coulter told a news conference Thursday.

“I would like to express my deep concern that the alleged suspect, a York student, so seriously compromised the safety of everyone at York,” said Mamdouh Shoukri, York president and vice-chancellor in a press release.

“I am extremely thankful that no one was physically hurt and that an arrest has been made.”

Andrew MacDonald, 35, is charged with three counts of mischief, two counts of attempted break and enter and five other weapons-related charges.

MacDonald appeared in court Thursday and is scheduled for another court date next week, but police are requesting a three-day remand for further investigation.