This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

[protected-iframe id=”ee409bf55b04714eb3d391766016de54-41641936-52137988″ info=”http://launch.newsinc.com/?type=VideoPlayer/Single&widgetId=1&trackingGroup=69016&siteSection=latimes_hom_non_sec&videoId=29774706″ width=”590″ height=”332″ scrolling=”no”]

A day before a gunman in Oregon killed eight classmates and his college writing teacher, Tuolumne County sheriff’s detectives foiled a plot by students to go on a shooting rampage at their high school near Yosemite National Park, authorities said.

The Summerville Union High School students, all male, had detailed plans that “included names of would-be victims, locations, methods in which the plan was to be carried out,” Sheriff Jim Mele told reporters at a news conference Saturday. The targets included other students and faculty members.

The boys confessed, Mele said, according to the Modesto Bee and KCRA-TV Channel 3. Three were arrested Wednesday and a fourth detained Friday on suspicion of conspiracy to commit assault with deadly weapons, a statement provided by the sheriff’s office said.

“They were going to come on campus and shoot and kill as many people as possible at the campus,” Mele told the Bee.

Click here to read the full story on LATimes.com.

Correction: An earlier version of this story spelled Tuolumne incorrectly. The story has been updated.