People magazine covers have been banned from public schools across the United States and other countries in response to the deadly rampage of a gunman in the U.S. capital.

“We have an obligation to the future generations of Americans to understand the dangers of gun violence and the urgent need to protect them from those who seek to do us harm,” President Donald Trump said Monday at the White House.

The new rule, which is being put in place by the Department of Education’s Office of Civil Rights, allows schools to deny access to certain kinds of magazines and other items from private schools and other private facilities.

A spokesperson for the Office of Education told The Associated Press the new rule is an attempt to protect students and staff from the harm that comes with access to guns.

In addition, a spokesman for the Department’s Office for Civil Rights said the rule is not meant to allow students to obtain firearms at schools.

The spokesperson said schools have a duty to students to learn the dangers associated with guns and to protect themselves from gun violence.

President Donald Trump speaks during a press conference on the “Greater Boston Strong” program at the National Mall in Washington, on Dec. 1, 2017.

After a gunman opened fire on a group of people in an elementary school in Newtown, Connecticut, killing 20 children and six adults, the nation focused on gun control.

On Monday, The Associated