The Moderator of the Church of Scotland, Rt Rev Dr Russell Barr, presented the Stevenson Prize for Excellence in Religious Observance to Ballantrae Primary School before the afternoon session of the General Assembly.
The prize comes with £500 for the winning school.
Pupils from Primary 7 collected the prize on behalf of the South Ayrshire school.
“That’s your pizza fund,” joked the Moderator as he presented the cheque.
The competition asks schools to show work in helping to build a sense of community, advance pupils’ spiritual development and celebrate shared values. This year’s theme was ‘Chaplains and War’.
Yvonne Templeton, head teacher of Ballantrae Primary, said all 63 of the school’s pupils took part in a day of reflection on the Holocaust.
Mrs Templeton said: “We are delighted that the children’s work is being recognised nationally. We are incredibly proud of all these children. I couldn’t be more proud of them.
“They worked very hard on their task which was to make a day-long lesson plan on the Holocaust. Through their work they learned how they are connected to one another and the wider world, and how what we do today is connected to the past and the future.”