A BREAKING Bad fan student who was obsessed with classroom massacres killed a pupil and injured three others in a horror school shooting.

The teenage gunman pulled out a pistol in a hallway and opened fire at Freeman High School, Washington state at around 10am on Wednesday.

13 Caleb Sharpe, 15, pictured during one of his mock shooting videos

13 The teenager is believed to be responsible for the shooting at a Washington school

13 His YouTube videos featured him engaging in mock shootouts using plastic pistols

13 He was obsessed with guns and shows that included Breaking Bad, his classmates said

13 Teens take shelter in classrooms after a gunman opened fire at their school Credit: Twitter/@TheChristinaXX

13 Parents gather in the parking lot behind Freeman High School in Rockford, Washington to wait for their kids, after the deadly shooting Credit: AP:Associated Press

The carnage was only brought to an end when a brave member of staff wrestled the gunman who has been named locally as Caleb Sharpe.

The suspect, who a classmate described as being obsessed with previous school shootings and the television programme Breaking Bad, was later arrested and taken into custody.

The shooter brought two weapons to Freeman High School in Rockford, south of Spokane, but the first one he tried to fire jammed, Spokane County Sheriff Ozzie Knezovich said.

He added: "He went to his next weapon.

"A student walked up to him, engaged him, and that student was shot. That student did not survive."

The sheriff said the shooter fired more rounds down the hallway, striking the other students, before a school staffer could stop him which Kzenovich hailed as a courageous act that prevented further bloodshed.

Three of the victims are being treated at Providence Sacred Heart Medical Centre and Children's Hospital and are said to be in a stable condition.

13 Sharpe pictured in an image taken on his computer. On the table in the background weapons can be seen Credit: Instagram

13 Sharpe opened fire on students yesterday, killing one and injuring three others Credit: Instagram

13 Sharpe, pictured in an image seen on his Facebook page Credit: Facebook

13 Roads surrounding the school became clogged up as parents rushed to the scene Credit: AP:Associated Press

13 Emergency services were pictured on the scene Credit: AP:Associated Press

13 The shooting took place at around 10.30am local time Credit: Google

Michael Harper, a 15-year-old sophomore, said the suspect had brought notes in the beginning of the school year, saying he was going to do "something stupid" and might get killed or jailed.

Some students alerted counsellors but it wasn't clear what school officials did in response.

Harper said the shooter had many friends and was not bullied, calling him "nice and funny and weird".

A haunting Youtube video shows the suspected gunman simulating a shoot out with a friend.

A two-lane road into the town of about 500 people near the Idaho border was clogged as worried parents sped to the school.

Some people abandoned their cars on the street to make it to their children.

Parent Stephanie Lutje said she was relieved to hear her son was safe after his high school near Freeman High was put on lockdown.

She added: "It's been amazing, within probably 15-20 minutes of hearing about it, I'd already received a phone call, I'd already received a text message saying that their school is OK."

She still worried for others she knew, including a co-worker who had yet to hear from her son, a sophomore at Freeman.

"My stomach's in knots right now," she said.

Governor Jay Inslee said in a statement that "all Washingtonians are thinking of the victims and their families, and are grateful for the service of school staff and first responders working to keep our students safe."

13 Fellow students said he had many friends and was not bullied, calling him 'nice and funny and weird' Credit: Instagram

MOST READ IN NEWS BABY HORROR Man 'cut open pregnant wife's stomach to check baby's gender as he wanted son' CHRISTMAS COME EARLY Mum slammed over 'ridiculous' Xmas gift haul for 'spoilt' daughter, 2 'I DIDN'T SEE HER' Heartbroken mum who ran over & killed daughter, 1, 'made a mistake' 'STUCK IN ETERNAL HELL' Three Brit friends held against their will in 'covid jail' in Italy SCARRED FOR LIFE Brit arrested after 'biting off passenger's ear' onboard flight to Spain Exclusive CHILLING EFFECT Key Maddie witnesses 'hiding evidence as they are "terrified" of suspect'

We pay for your stories! Do you have a story for The Sun Online news team? Email us at tips@the-sun.co.uk or call 0207 782 4368 . We pay for videos too. Click here to upload yours.