Sentencing guidelines provide a framework for judges to determine an appropriate punishment for various types of crimes. In general, felony offenses, whether state or federal, carry a minimum sentence of one year in prison. Class E felonies are the least serious and carry penalties of up to three years in prison. Class D through B felonies are increasingly serious and carry maximum prison terms from six years to 25 years.