The education ministry said Thursday that a total of 400 million yen in compensation will be given to the parents of eight children killed in a stabbing spree at an Osaka elementary school two years ago.

The payment is part of a government admission of responsibility for lax security at the school.

The Education, Culture, Sports, Science and Technology Ministry will offer an apology in an agreement to be signed with the families Sunday, the second anniversary of the incident, ministry officials said.