Skipton Road at Cross Hills was closed on Monday evening after a fault developed on the level crossing barriers.

Police took action after passers-by reported that the barriers kept going up and down without any reason.

The alarm was raised at 5.30pm and the barriers were closed for about two hours while repairs were carried out by Network Rail.