TRENTON, N.J. -

New Jersey high school students will be required to have CPR training starting this year.

Lt. Gov. Kim Guadagno signed a law Wednesday requiring the lesson for all public and charter school students in ninth through 12th grades.

"There’s undeniable value in this life-saving training, and I'm proud that today as a state we have taken the step to make sure it's taught in our high schools," said New Jersey Senator Diane Allen, a Burlington County Republican who sponsored the legislation. "Teaching students the ability to save a life is the most important skill we can give them."

The legislation was signed in a ceremony at Burlington Township Middle School, where a student who collapsed in gym class on June 11 was revived after staff performed CPR and used a defibrillator.

"What happened at Burlington Township Middle School makes it clear that this type of preparation and training can be the difference between life and death," Allen said. "Giving students this same training will make sure they know how to respond should they ever be in a situation at school or later in life where they have to act."

The law, which takes effect in the coming school year, requires students to have lessons in both CPR and the use of external defibrillators, but they will not have to be certified.

Under legislation signed into law in 2012, all New Jersey schools must have a defibrillator on site by this September.

Guadagno is serving as acting governor with Gov. Chris Christie out of the state.