A shooting at Umpqua Community College in Roseburg, Oregon, on Thursday left at least seven people dead and wounded 20 others, authorities said.
A look at some of the worst shootings on or near college campuses in recent years:
June 5, 2014: A 19-year-old student is killed and two others are wounded in a shooting at Seattle Pacific University in Washington before another student tackles the gunman as he pauses to reload. A lawyer for Aaron Rey Ybarra, 26, who is charged with first-degree murder, has said mental illness was a factor.
May 23, 2014: A community college student, Elliot Rodger, 22, kills six people and injures 13 others in shooting and stabbing attacks in the area near the University of California, Santa Barbara, campus. Authorities said he apparently shot himself to death after a shootout with deputies.
June 7, 2013: Five people are killed and several others are wounded in Santa Monica, California, when John Zawahri, 23, shoots his father and brother and then shoots at strangers in cars and at Santa Monica College, where students were taking final exams. Zawahri is fatally shot by officers in the college library.
April 2, 2012: Seven people are killed and three are injured when a 43-year-old former student opens fire at Oikos University, in Oakland, California. One Goh was charged with seven counts of murder and three counts of attempted murder but psychiatric evaluations concluded he suffers from long-term paranoid schizophrenia and is unfit to stand trial.
Feb. 14, 2008: Five students are killed and 18 are wounded when former student Steven Kazmierczak, 27, opens fire in a lecture hall at Northern Illinois University in DeKalb, Illinois, before committing suicide.
Feb. 8, 2008: Two people are killed when Latina Williams, 23, opens fire during an emergency medical technology class at Louisiana Technical College in Baton Rouge, Louisiana, before shooting herself.
April 16, 2007: Thirty-two people are fatally shot in a dorm and classroom at Virginia Tech in Blacksburg, Virginia, before the gunman, Seung-Hui Cho, 23, kills himself.
Sept. 2, 2006: Douglas W. Pennington, 49, fatally shoots his two sons before killing himself during a visit to Shepherd University in Shepherdstown, West Virginia.
Oct. 28, 2002: Three professors are killed when Robert Flores Jr., 41, who was flunking out of the University of Arizona nursing school, shoots them before killing himself in Tucson, Arizona.
Jan. 16, 2002: Three people are killed and three are wounded when a recently dismissed graduate student at the Appalachian School of Law in Grundy, Virginia, returns to campus and targets the dean, a professor and a student. Peter Odighizuwa, 42, pleaded guilty in the attack and was sentenced to life in prison.
Aug. 15, 1996: Three professors are shot and killed when Frederick Martin Davidson, 36, a graduate engineering student at San Diego State University, is defending his thesis before a faculty committee and pulls out a handgun. Davidson was later sentenced in California to three life terms in prison without parole.