 In Scotland, the Community Service by Offenders Act 1978 introduced provisions whereby offenders might, under certain circumstances, be ordered by courts to undertake community work as an alternative to a prison sentence.This legislation brought Scotland in line with England and Wales where similar provisions already apply.The Mines (Precautions Against Inrushes) Regulations 1979 applied to all types of mines and made provision for measures to be taken against the hazard of inrushes of water or gas or material which flows when wet.