A teenager accused of murdering teacher Ann Maguire in her classroom "has accepted responsibility for the unlawful killing", Richard Wright QC, defending, told Leeds Crown Court.
No pleas were entered and a trial on the murder charge is scheduled to take place in November.
Ms Maguire 61, was fatally stabbed at Corpus Christi Catholic College in Halton Moor on April 28.
Mrs Maguire's death was 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.
More top news
David Cameron has pledged to reduce the annual benefits cap to £23,000 "within the first few days" of a Conservative election win.
Ed Miliband is to outline Labour's "10-year plan" for the NHS after warning it faces "its most perilous moment in a generation".
Argentina's president has announced plans to disband the country's intelligence services following the death of a state prosecutor.