A terrified eight-year-old boy was pushed on to railway lines in Birmingham by a 14-year-old who laughed as he had to stand and wait as two trains sped by, a court has been told.
Earlier the victim had also been pushed into a busy road and towards a canal by the same teenager who had put his life in danger, Birmingham Crown Court heard.
The 14-year-old, from Small Heath, has denied two charges of doing an unlawful act with intent to endanger a person on the railway.
Neil Williams, prosecuting, said at the time, in April last year, the defendant had been in charge of both the eight-year-old and his nine-year-old sister and had previously been warned about going to the canal with the youngsters.
However, he said, he ignored that warning after telling an adult he was going to take them to a park.
Instead, said Mr Williams, they initially went to a roundabout where the 14-year-old shoved the eight-year-old into the road.
''Fortunately no harm befell him, although there was traffic on the island,'' he said.
Mr Williams said they carried on to the canal where the defendant pushed the boy towards the water, the victim managing to cling on to a ladder and stopping himself from falling in.
He said at this point, not surprisingly, the brother and sister had asked the defendant to take them back home. This plea was ignored and the teenager then took the children up a railway embankment in Bordesley, it is alleged.
Mr Williams said the defendant pushed the eight-year-old on to the line where he was left standing in the gap between the tracks while trains passed in each direction.
He said fortunately the victim had the presence of mind to stay where he was until the danger had past.
''He did not come to harm. He was not injured, but the prosecution say by that act, by that push it is perfectly clear he was endangered,'' said Mr Williams.
He said that this incident along with those at the traffic island and the canal demonstrated a pattern of behaviour. Mr Williams said the boy was told not to say anything about what had gone on but he told his mother who contacted the police.
When later questioned the 14-year-old admitted taking the boy and girl to the embankment because he "wanted to see what was up there".
He said he was aware of the dangers of the railway and that he had "nudged'' the boy who had fallen on to the tracks.
Mr Williams said the defendant had also thrown stones at trains and that it was more than curiosity that had led him to take the victim to the roundabout, the canal and finally the railway embankment.
The trial continues.