JM Barrie was 17 when he wrote and staged Bandelero the Bandit at Dumfries Academy, where he was a pupil.
He later believed that the play had been destroyed, and with regret wrote, ‘No page of it remains’.
However, Scottish Youth Theatre and Moat Brae Trust collaborated to bring Bandelero the Bandit and scenes from Peter Pan to life at Dumfries Academy last Friday.
Trust project development officer Cathy Agnew said: “It’s a lovely little moment in theatrical history to be able to bring Bandelero back to Dumfries Academy.”
Katee McCulloch, 19, from Edinburgh, said: “It’s amazing to be in the place which inspired one of the best-known stories of all time and then to be going to Dumfries Academy to bring JM Barrie’s first ever play back to the stage in the very place where it was first performed.”