After persons are found guilty of an offence it is down to a jury to decide weather the offence is worth of being sentenced to death, usually this has to be a unanimous decision.
After persons are found guilty of an offence the judge will give the option to the jury to be able to give death sentence or life imprisonment. It is then down to a jury to decide weather to give the death sentence, usually this has to be a unanimous decision.