A 15-year-old boy remains in custody following the fatal stabbing of a much-loved teacher in her classroom.
Spanish teacher Anne Maguire, 61, was repeatedly stabbed in front of pupils at Corpus Christi Catholic College in Leeds yesterday morning.
The school is expected to open as normal today.
Mrs Maguire's death, after more than 40 years teaching at the school, is thought to be the first time a teacher has been stabbed to death in a British classroom, and the first killing of a teacher in a school since the 1996 Dunblane massacre.
Children leaving the school yesterday said the teacher was attacked as she taught a routine year 11 Spanish class in the Modern Languages block.
Some pupils reported hearing screams as other members of staff rushed to the scene and restrained her attacker.
Last night, hundreds of pupils, former students and their parents crammed into the pews of the Corpus Christi Church, next to the school.
There was no formal service but teenagers hugged each and some lit candles as they wiped away tears.
A few yards outside, scores more youngsters gathered around hundreds of floral tributes which have been placed at the school gates.
Some teenagers pinned photographs to the railings, along with teddies and other memorabilia.
All of the youngsters described Mrs Maguire as an inspirational teacher who went out of her way to help students.
She had taught at the school since she was a student teacher and, last year, celebrated 40 years at Corpus Christi.
Prime Minister David Cameron led the tributes. He said: "This is a profoundly shocking, indeed absolutely appalling, incident.
"All our thoughts are with the teacher's family, with the school and all the pupils who study there. Everything that can be done to help this school get to the bottom of what happened will be done. I think that we have to wait for the investigation to see what exactly happened."
Katie Gallagher, 15, said she was in a nearby room when Mrs Maguire was stabbed.
She said: "I heard her scream. I was in a meeting at the time but I heard it."
She said everyone in her class burst into tears when they were told about the teacher's death.
Former pupil Kerrianne Ayward, 17, said: "She was just lovely. She was helpful and caring and you could have a laugh with her.
"She was always there for you, even if she didn't know you very well. No one had a bad word for her - I mean no one."
Kerrianne, who left the school two years ago, said: "She was the heart of the school."
Another former pupil, Peter Masefield, 18, said: "I just can't understand why her. Of all people. She was the school's figurehead."
Pupil Georgina Kilroy, 16, said: "I don't know anyone who didn't like her. She was spot on. You couldn't ask for a better teacher."
Georgina said her teacher broke down when she told the children the news. She said they had earlier been told a teacher had gone to hospital but lessons had continued.
Laying flowers, former pupil Aine Arnold, 17, said: "It's more like losing a family member than losing a teacher.
"She was just lovely. She was wonderful. I am devastated."
Nichola Davies, 34, broke down as she tried to explain why she had driven 40 miles from Goole, East Yorkshire, to pay her respects.
Mrs Davies, who left the school in 1996, said: "She was just amazing. She was such an incredible lady. It's just so heartbreaking, it really is."
One of the notes left with the flowers said: "You inspired countless generations. You taught four generations of our family and you were simply a totally fantastic teacher, always caring and always there to make us smile (even if you were speaking Spanish)."
Mrs Maguire lived in the Moortown area of Leeds with her husband, Donald, who is believed to be a retired maths teacher. She is understood to have two grown-up daughters.
She was head of year 11 at the school for more than 10 years.
There are nearly 1,000 pupils on the roll at Corpus Christi, aged between 11 and 16, according to the school's website.
Parents speaking outside the school last night said it had a very good reputation and, despite being located in a challenging area, families competed to send their children there.
When it was last inspected by Ofsted it was rated good with many outstanding features.
The inspectors said: "Students, parents, carers and staff are rightly proud of this harmonious and caring school which has embedded itself in the very heart of the community."
Speaking outside the school on Neville Road yesterday, Chief Superintendant Paul Money, from West Yorkshire Police, said: "A 15-year-old male pupil from the school was detained at the scene by other members of teaching staff immediately after the incident occurred.
"The alarm was raised by students in the school, some of whom witnessed the offence."
He said a knife had been recovered and added: "There were a number of stab wounds to the lady in question."
The teacher died in hospital, he said, but he could not confirm what injuries she had received following reports she was attacked from behind and stabbed in the neck and back.
A neighbour of the 15-year-old under arrest told The Mirror the teenager was "a bit of a loner".
Rebecca Hardy, 21, said: "His mum is very nice. They are a quiet family. The boys are both extremely quiet. If you said hello to them, they would probably not say hello back."
Jacob Hill, 16, a pupil at the school, described him as "very bright".
Hilary Benn, Labour MP for Leeds Central, described the incident as "profoundly saddening" but said he was not in favour of stringent security measures that would keep staff and pupils "behind high fences".
Education Secretary Michael Gove said: "This is an appalling tragedy. My deepest thoughts go to the victim's family, her colleagues and the pupils at Corpus Christi Catholic College."
Labour leader Ed Miliband said: "The killing of Anne Maguire was an appalling act. My thoughts are with her family, the school and those pupils who witnessed the attack."
Dean Sean Quigley, from Corpus Christ Catholic Church, said: "She was just a wonderful, caring person. She was head of year 11 for in excess of 10 years and she was just so patient in her pastoral work.
"She was held in such immense esteem. She taught the grandparents of some of these children here today."