INVESTIGATIONS are underway as to how two teenage girls managed to get onto the railway track in Dinas Powys.

British Transport Police officers are looking into the incident which is believed to have occurred late last week.

There was a splurge of activity on social media with local residents posting photographs and commenting on the situation as it unfolded.

Some users commented saying that it was a "foolish" and "idiotic" thing to do.

A British Transport Police (BTP) spokesman said: “We are aware of a photograph which shows two teenage girls on the tracks between Eastbrook and Dinas Powys.

"I would like to remind people that the railway is a dangerous environment.

"Trains travel at extremely high speeds and are actually much quieter than people expect.

All it takes is one accidental slip and the consequences could be catastrophic.

"People may think they know the lines well and know the passenger timetables, but they don’t know the freight timetables, with services running 24 hours a day.

“With the school summer holidays almost upon us, I would urge all parents and responsible adults to emphasise these dangers and ensure youngsters do not participate in such behaviour and keep away from the railway lines.

"Our main concern is keeping people safe.

"We are more interested in preventing instances of trespass and saving lives than enforcement, and I sincerely hope people heed this warning.

"The message is simple - stay safe and stay off the tracks."

Officers are continuing to investigate the incident near Dinas Powys and anyone with any further information should contact British Transport Police on 0800 40 50 40 quoting incident reference 289 of 17/06/2016.