A 14-year-old Birmingham boy has denied endangering an eight-year-old by pushing him onto railway lines.
It is alleged the defendant laughed while the boy had to stand and wait as two trains sped past. It is claimed the teenager earlier shoved the boy into a busy road and towards a canal.
The defendant, from Small Heath, denied two charges of doing an unlawful act with intent to endanger a person on the railway.
Giving evidence at Birmingham Crown Court, he said in April 2007 he had gone up a railway embankment in Bordesley and the boy had followed, while the boy's nine-year-old sister waited at the bottom.
He said they had been on the embankment for two to three minutes and hoped to see trains but none had passed.
While there, he said, both he and the boy had thrown stones at an area of grass.
As they were about to race down, he said, he had "nudged'' the boy with his shoulder causing him to fall on one track. When they were at the bottom, the boy said to him "I could have died," the teenager said.
He said he told the children not to tell anyone where they had been but denied threatening to "batter'' the boy if he let on.
Earlier, he said, he crossed a busy road and the children had followed him and they had been to a canal, crossing it four times. He said he had not thought about the risk but denied having pushed the boy on either occasion.
The trial continues.