At least 17 people were killed last week in a mass shooting at a high school in southeastern Florida.

Police say a gunman opened fired shortly before the school day ended. According to officials, 19-year-old Nikolas Cruz, a former student, confessed to carrying out the shooting rampage.

The shooting has galvanised students and thousands of others to organise near-daily protests, demanding stricter gun control laws.

Here's what we know so far about the shooting and protests that followed:

What happened and where?

A gunman began shooting outside Marjory Stoneman Douglas High School in Parkland, Florida, on Wednesday just before the end of the school day.

The gunman arrived at the school at 2:19pm local time (19:19 GMT) {articleGUID}

At least two people were killed outside the building and one person was killed in the street.

The fire alarm went off inside the school.

The gunman entered one of the school buildings where, according to police, he continued his shooting rampage with a semiautomatic AR-15 rifle.

He eventually fled the scene.

The suspected gunman was later taken into custody in a neighbouring town. According to police, 19-year-old Nikolas Cruz confessed to carrying out the shooting. He has been charged with 17 counts of premeditated murder.

Broward County Sheriff Scott Israel told reporters that an armed police deputy who was assigned to the school arrived at the building where the shooting took place about 90 seconds after the first shots were fired. The deputy then stood outside for four minutes while the rampage continued inside. According to Israel, the shooting lasted for a total of six minutes.

"I am devastated ," Israel told reporters. "Stick to my stomach; he never went in."

," Israel told reporters. "Stick to my stomach; he never went in." The shooting took place in the town of Parkland. It is about an hour drive from Miami in southeast Florida.

Marjory Stoneman Douglas High School is a public school with about 3,000 students.

How many people were killed?

At least 17 people were killed, including 14 students and three adults who worked at the school.

Three people were killed outside the school, while 12 were shot dead inside one of the buildings. Two died from their injuries at the hospital.

The school's American football coach and athletic director are among the dead.

At least 15 others were injured.

The suspect has been identified as 19-year-old Nikolas Cruz.

He was charged with 17 counts of premeditated murder on Thursday morning.

According to police documents, he admitted to the shooting.

{articleGUID}

Police say Cruz was armed with a semiautomatic AR-15 rifle and carried "multiple" magazines with him. He was also equipped with a gas mask and smoke grenades.

According to officials, Cruz was expelled from Marjory Stoneman Douglas High School for disciplinary issues. They did not specify when he was expelled or the specifics of his expulsion. He was enrolled in a different high school, local reports said.

Officials have begun going through Cruz's social media accounts and have found "disturbing" posts.

" We have already begun to dissect his websites and things on social media that he was on and some of the things... are very, very disturbing," Sheriff Scott Israel said late on Wednesday.

We have already begun to dissect his websites and things on social media that he was on and some of the things... are very, very disturbing," Sheriff Scott Israel said late on Wednesday. Police said they are investigating possible links between Cruz and a white supremacist group in Florida.

The FBI acknowledged that it did not follow its own investigative procedures after it failed to act on a tip about Cruz. In January, the agency received a report from "a person close" to Cruz, who said the 19-year-old displayed a "desire to kill people", "erratic behaviour " and "disturbing social media posts".

" and "disturbing social media posts". According to local media, the FBI was warned about a post on YouTube last September by someone with the name Nikolas Cruz that said: "I'm going to be a professional school shooter". A video blogger alerted the FBI to the comment and was then questioned by the agency. Local reports said the FBI did not alert local police about the comment. Investigators are trying to determine the true identity of the individual who posted the comment.

'I just ran': What have witnesses said?

A number of unverified videos from inside the school at the time of the shooting have been circulating on social media.

In one video, people are screaming "Oh my God!" as gunshots rang out.

Students at the school have described the "chaotic" scene to local media.

"I just ran. I had my book bag on my back, just in case I got shot in the back," one student told CNN.

"I saw some bodies. It wasn't good," another student told West Palm Beach's WPTV.

"We hear bullets coming closer and closer to us, and then we just hear kids screaming," a ninth-grade student told Miami's WPLG news station. "This teacher was apparently trying to help a student and got shot," the student added.

What have officials said?

Florida Governor Rick Scott said the shooting was "absolutely pure evil". He also said there was "a time" to talk about gun control when questioned by reporters on Wednesday. {articleGUID}

US President Donald Trump offered his condolences to the families of the victims. He said: "No child, teacher or anyone else should ever feel unsafe in an American school".

Connecticut Senator Chris Murphy spoke in front of the Senate shortly after the shooting, saying Congress is "responsible for the level of mass atrocity that happens to this country with zero parallel anywhere else". He added: "As a parent, it scares me to death that this body doesn't take serious the safety of my children."

Chris Murphy on the Florida school shooting: "Let me just note once again for my colleagues, that this happens nowhere else other than the U.S.A.... We are responsible for a level of mass atrocity that happens in this country with zero parallel anywhere else." (via ABC) pic.twitter.com/Mqyr01r9Xh — Kyle Griffin (@kylegriffin1) February 14, 2018

What are others saying?

Online, the shooting renewed calls for stricter gun control in the country. #GunControlNow trended worldwide after news of the shooting broke, with many criticising politicians for what they said was a failure to act on gun violence. Others pointed to the use of the AR-15 rifle in a number of mass shootings around the country.

Students across the country have organised near-daily protests against gun violence. Major marches and walkouts are scheduled for March.

Many have also rejected Trump's suggestion to arm teachers who are "adept at firearms", saying teachers are meant to teach, not meant to carry guns.

There is one common denominator: The AR-15



Stop acting stupid in order to protect the NRA. This gun should be banned as should every gun similar to it. This isn’t against the 2nd Amendment. It’s against mass murder! #GunControlNow #schoolshootng — Ed Krassenstein (@EdKrassen) February 15, 2018

Start your morning off right with the wise words of @davidhogg111, "It’s insane, and the fact that there’s more bullet holes in those windows than bills that have been proposed and passed to save these kids’ lives is disgusting." #NeverAgain #MarchForOurLives — Emma González (@Emma4Change) February 21, 2018

Seriously aren't politicians supposed to know more then us? How could they ever think letting a generation of voters grow up accustom to school shootings would get them reelected? The #3rdgreatawakening is here. — David Hogg (@davidhogg111) February 21, 2018

#NeverAgain no child should have to experience what I experienced. No parent should have to live with the grief of losing a child. Never again. — Alex Wind (@al3xw1nd) February 16, 2018

Hearing my school said in the same sentence as Columbine and Sandy Hook will never stop shocking me. I don't want MSD to be remembered as "the school that had the shooting." I want it to remembered as the school that started a revolution. — carly (@car_nove) February 22, 2018

What has Trump proposed?

Trump, who was endorsed by the National Rifle Association (NRA) during the 2016 presidential election, said after the shooting that he would be in favour of stricter background checks for gun buyers.

He also called for a ban on bump stocks, a device that allows semiautomatic rifles to fire at the rate of a machine gun.

Despite widespread criticism , he has stood by his suggestion that "gun-adept teachers with military or special training experience".

, he has stood by his suggestion that "gun-adept teachers with military or special experience". Many teachers have blasted the proposal on Twitter, saying arming teachers would result in damaging consequences.

Politicians have also slammed the suggestion to arm teachers. Florida Democratic Senator Bill Nelson told CNN it is a "terrible idea". Nelson's colleague, who is from Trump's Republican party, also said the idea has "practical problems" and that it is "not something ... [he is] comfortable with".

Trump also said he favours raising the minimum age to buy guns to 21. In several states, including Florida, the minimum age to buy a gun is 18 years old.

What has the NRA said?

NRA chief executive Wayne LaPierre has accused gun control advocates of politicising the Florida shooting to "eliminate the Second Amendment". He echoed Trump's call to arm teachers.

LaPierre's comments were slammed by Democrats and others as "pathetic".

As a result of the NRA's response to the shooting, more than a dozen companies have cut ties with the NRA.

On Sunday, NRA spokeswoman Dana Loesch told ABC news that "the NRA doesn't support any ban". She was responding to a question about Trump's call to ban bump stocks.

Would American patriots try to buy our elections and our children's lives by lobbying for lax gun laws even after massacres? @realDonaldTrump https://t.co/ePAz1xHu23 — David Hogg (@davidhogg111) February 22, 2018

What major protests are planned?