A similar "three strikes" policy was introduced to the United Kingdom by the Conservative government in 1997. This legislation enacted a mandatory life sentence on a conviction for a second "serious" violent or sexual offence (i.e. "two strikes" law), a minimum sentence of seven years for those convicted for a third time of a drug trafficking offence involving a class A drug, and a mandatory minimum sentence of three years for those convicted for the third time of burglary. An amendment by the Labour opposition established that mandatory sentences should not be imposed if the judge considered it unjust.