The Queensferry Crossing turned into a school crossing on the final day of the recent series of public celebrations.
Deputy First Minister John Swinney joined around 10,000 people from local schools and community groups on the £1.35 billion bridge.
This was the final time the public were able to walk on the new bridge before it permanently reopens to traffic in the early hours of Thursday.
Pupils and staff from the 13 schools surrounding the project were invited, along with 3,000 representatives from six community council areas situated closest to the bridge.
The Deputy First Minister said: “The Queensferry Crossing is one of the biggest infrastructure projects of its kind in the world.
“To go from inception to opening in under a decade is a momentous feat of planning and engineering.
“It is fantastic that so many children and representatives from those communities living closest to the bridge are being given the opportunity to celebrate in this historic occasion and create a lasting legacy for the future.”
Two Inverkeithing High pupils donned their Burntisland Pipe Band uniforms for the “once in a lifetime” event.
Cameron Venters and Gregor Drury, who are both 17, brought the sound of Scotland to the event.
Cameron said: “We were asked by the school and thought it was an opportunity we could not refuse.
“It is a once in a lifetime opportunity and was definitely worth it.”