A 31-year-old Modesto man has been sentenced to four years in prison for stealing from Home Depot stores in Stanislaus County this past summer.

Authorities say Corey Wayne Smith is suspected of committing other thefts at Home Depot stores. But he pleaded no contest to only two counts of robbery in connection with thefts at Home Depot stores in Riverbank and Ceres, according to a news release from the Stanislaus County District Attorney’s Office.