Michigan State said its athletic teams will compete this weekend, days after a gunman killed three students and wounded five others in an on-campus shooting.

Among the events that will take place Saturday are the women's basketball team hosting Maryland and the men's basketball team playing at in-state rival Michigan.

The university said in a release that the decision to resume play was made after discussions with players and staff as well as mental health professionals and university leadership.

"The safety and physical and mental well-being of our students and staff is the primary focus of Michigan State athletics," Michigan State athletic director Alan Haller said in a statement. "In consultation with mental health professionals and in conversations with our student-athletes it became apparent that a return to practice and competition is a crucial part of their recovery. Student-athletes were given an active voice in the decision to return to competition, as well as the autonomy to make their own individual choices about participation.

"Athletics can be a rallying point for a community in need of healing, a fact many of our student-athletes have mentioned to me. The opportunity to represent our entire community has never felt greater."