Burglary plea brings 4-year sentence