Maliciously wrecking or attempting to wreck a train
126. If a person unlawfully-
(a) puts or throws upon or across any railway any wood, stone or other matter or thing, or
(b) takes up, removes, loosens or displaces any rail, sleeper or other matter or thing belonging to any railway, or
(c) turns, moves, unlocks or diverts any points or other machinery belonging to any railway, or
(d) makes or shows, or hides, or removes, any signal or light upon or near to any railway, or
(e) does or causes to be done or attempts to do any other act or thing in relation to any railway,
with intent, or with knowledge that he is likely, to endanger the safety of any person travelling or being upon the railway, he shall be punished with transportation for life or with imprisonment for a term which may extend to ten years.