Hughes, 17, was second in the boys’ individual time trial last week, finishing six seconds behind eventual winner Matthew Oliviera of Bermuda.

The medal was a significant one for the teenager and Team Scotland – it is the first ever cycling medal won by Team Scotland at the Commonwealth Youth Games.

And from the Bahamas, he told Courier Sport: “I am really pleased and I wasn’t really expecting it, so it was nice to come out with a medal.

“It is really good for cycling and maybe winning this one will start a bit of a trend.”

Hughes, who stays near Dirleton, was similarly delighted to have familiar faces cheering him on.

Two of his uncles made the trip to support him.

Hughes said: “Having two familiar faces there towards the end was really great for me.

“I was starting to really struggle, especially in that last mile or so, so to have them there cheering for me really helped.

“I’m super grateful to them for coming out.”

And the teenager, a sixth-year pupil at North Berwick High School (NBHS), said he had been keeping in contact with his family in East Lothian.

“I’ve been on the phone to my parents but it’s difficult because of the time difference – whenever I am up and about they are out doing stuff – but we have managed to speak,” he said.

“I just hope I can continue to do them proud, and do my team proud.”

There was a a message of congratulations from Hughes’ school, posted on Twitter.

The school said: “Huge congratulations to Dylan Hughes, S6 pupil at NBHS.

“We’re so proud of your achievement, Dylan.”

And the school’s headteacher, Lauren Rodger, said Hughes was “a star”. In a message to the teenage cycling starlet, she added: “You’ve been so dedicated to your sport: it’s great to see your hard work has paid off. I’m thrilled for you!”

The teenager was hoping to add a second medal in the road race on Sunday but he was unable to complete the course as the title went to Thomas Bostock of the Isle of Man.

A spokeswoman for Team Scotland told Courier Sport that the 17-year-old was forced to retire one lap from the finish “due to the extreme heat”.