Headteachers are to receive more than half a billion pounds over the next four years to help close the poverty-related attainment gap.

Pupil Equity Funding (PEF) totalling £520 million will be distributed across every council area so school leaders can put in place additional support for children and young people.

The funding has been confirmed for multiple years in a bid to boost certainty and allow for longer-term planning.

READ MORE: Attainment gap - SNP under fire over university entry rates

Education Secretary Shirley-Anne Somerville said: “Tackling the poverty-related attainment gap and giving every young person the chance to fulfil their full potential remains our priority, and we are investing an increased £1 billion through schools and local authorities over the course of this Parliament to support this ambition.

“Our headteachers and teachers know their pupils best and have told us that our measures are working. We are determined to ensure they are empowered to take the approaches that are right for the children and young people in their schools to help improve attainment.

“Our allocation of more than £520 million of PEF for the next four years will give headteachers the confidence and security they need to plan long term. However, we know schools can’t do this alone, and headteachers should work in partnership with each other, Education Scotland and their local authority, to agree the use of the funding.”

READ MORE: Fears bullying 'hugely under-reported' to 'protect school reputations'

Welcoming the support, Margot MacAlister, headteacher at St Francis' Primary in Edinburgh, said: “Pupil Equity Funding has been key in allowing me to deliver my vision for the community I serve. From the beginning it has provided me with stability in terms of funding posts previously reliant on my devolved budget.

“This has allowed me to build purposeful and trusting working relationships with partners over time that bring a great richness to a child’s learning experience.

“Our nurture programme and now our EXCEL programme has become embed in the culture and ethos of the school and addresses the whole child now and in the future.”