Which part of the government is free to enact statutes that constrain judges' discretion in sentencing?

Executive

Administrative

Local

Legislature

The legislature is the part of the government that is free to enact statutes that constrain judges' discretion in sentencing.