A Class X felony is considered to be the most serious felony in Illinois. If you are found guilty, you will not get probation and may face a mandatory jail sentence of six to 30 years in the Department of Corrections.