(Reuters) - A shooting in Pensacola, Florida, on Friday that left at least four people dead was the second mass killing on a U.S. military installation in three days and followed a spate of deadly gun violence throughout the country this summer.

A pair of cowboy boots is shown in the street outside the concert venue after a mass shooting at a music festival on the Las Vegas Strip in Las Vegas, Nevada, U.S. October 1, 2017. REUTERS/Las Vegas Sun/Steve Marcus

The carnage at Naval Air Station Pensacola, in which the assailant was among those killed, comes after a shooting on Wednesday at the historic Pearl Harbor military base in Hawaii, where a sailor killed two civilians and before taking his own life.

Below are some of the bloodiest and most notable U.S. mass shootings in recent decades, ranked by death toll. This is not a complete list of all major U.S. mass shootings:

LAS VEGAS, Oct. 1, 2017 - A gunman opens fire on a country music festival from a 32nd-floor hotel suite, killing 58 people and wounding 564 others before taking his own life.

ORLANDO, June 12, 2016 - A gunman fatally shoots 49 people at Pulse, a gay nightclub, before he is shot dead by police.

VIRGINIA TECH, April 16, 2007 - A gunman slaughters 32 people and kills himself at Virginia Tech, a university in Blacksburg, Virginia.

SANDY HOOK, Dec. 14, 2012 - A man fatally shoots his mother, then kills 20 children and six adults before killing himself at Sandy Hook Elementary School in Newtown, Connecticut.

SUTHERLAND SPRINGS, Nov. 5, 2017 - A man thrown out of the U.S. Air Force for beating his wife and child shoots 26 people fatally at a rural Texas church where his in-laws worshipped before killing himself.

KILLEEN, Oct. 16, 1991 - A man rams his pickup truck through the plate glass door of a Luby’s restaurant, then opens fire and kills 23 in the central Texas city.

EL PASO, Aug. 3, 2019 - A man fatally shoots 22 people at a Walmart store in El Paso, Texas. A statement, believed to have been written by the suspect, called the attack “a response to the Hispanic invasion of Texas.” Authorities arrest the shooter and are treating it as a case of domestic terrorism.

SAN YSIDRO, July 18, 1984 - A man fatally shoots 21 people and injures 19 others at a McDonald’s restaurant in a San Diego, California, suburb. He is killed by a police sniper.

PARKLAND, Feb. 14, 2018 - A former student at Marjory Stoneman Douglas High School in Parkland, Florida, opens fire with an assault-style rifle, killing 17 students and educators. Authorities arrest the gunman.

SAN BERNARDINO, Dec. 2, 2015 - A husband and wife kill 14 people at a workplace holiday party in San Bernardino in Southern California before dying in a shootout with police.

VIRGINIA BEACH, May 31, 2019 - Just before his co-workers clock out for the weekend, a city engineer opens fire at a municipal building in Virginia Beach, Virginia, killing 12 people. The shooter, who had earlier in the day emailed his resignation, is killed by police.

THOUSAND OAKS, Nov. 7, 2018 - A former Marine combat veteran kills 12 people in a bar in Thousand Oaks, California, a suburb of Los Angeles. He then kills himself.

FORT HOOD, Nov. 5, 2009 - An army major and psychiatrist opens fire at Fort Hood, a U.S. Army base in Texas, killing 13 people. He is sentenced to death.

AUSTIN, Aug. 1, 1966 - A sniper perched in a University of Texas clock tower unleashes 90 minutes of terror by killing 13 people plus a fetus and wounding more than 30 others in what is regarded as the first U.S. mass shooting in a public space. He is fatally shot by police.

WASHINGTON, D.C., Sept. 16, 2013 - A former Navy reservist working as a government contractor kills 12 people at the Washington Navy Yard. He is shot dead by police.

AURORA, July 20, 2012 - A masked gunman kills 12 people and wounds 70 others after he opens fire inside a midnight premiere of Batman film “The Dark Knight Rises” at a multiplex movie theater in Aurora, Colorado. He receives multiple life sentences.

COLUMBINE, April 20, 1999 - Two teenagers rampage through Columbine High School in Jefferson County, Colorado, fatally shooting 12 students and a teacher and wounding more than 20 others before killing themselves.

TREE OF LIFE, Oct. 27, 2018 - A gunman bursts into the Tree of Life synagogue near Pittsburgh with a semi-automatic rifle and three handguns and shouting “all Jews must die” as he fires on congregants gathered for a Sabbath service, killing 11. The suspect has pleaded not guilty and faces the death penalty.

WASHINGTON, D.C., October 2002 - Two men ambush 13 people, killing 10 of them, in sniper-style shootings that terrorize the Washington area for three weeks. One sniper was executed and the other was sentenced to life in prison.

DAYTON, Aug. 4, 2019 - A gunman dressed in body armor opens fire in downtown Dayton, Ohio, killing nine people including his sister and wounding 27 others. Police kill the shooter, the mayor says.

CHARLESTON, June 17, 2015 - A white supremacist kills nine black churchgoers at a historic, predominantly black church in Charleston, South Carolina. He is sentenced to death.

WISCONSIN, Aug. 5, 2012 - A white supremacist kills six worshippers in a Sikh temple in Oak Creek, Wisconsin. The gunman kills himself.

TUCSON, Jan. 8, 2011 - U.S. Representative Gabrielle Giffords is the target of an assassination attempt by a gunman in Tucson, Arizona. Six people are killed and 13 others, including Giffords, are wounded. The shooter was sentenced to life in prison.