BOISE, Idaho (AP) — The Idaho Supreme Court has upheld the state's burglary law, dismissing a claim brought by a man who was charged with felony burglary for shoplifting at a Wal-Mart.

The Spokesman-Review reports Ryan Rawlings said in his appeal that Idaho's burglary law is unconstitutional because it was used to charge him with felony burglary instead of misdemeanor shoplifting.