Ban on driving is imposed by the court for a period within the range of one to five years on persons who have committed a criminal offence, when it is deemed that it will have a preventive effect or it matches the nature of the offence committed.