Each count carries up to two years in prison, but in exchange for DeWitt’s plea, prosecutors agreed to a cap of six years in prison and to not file additional charges from video on the camera DeWitt hid. DeWitt will be sentenced July 27.

DeWitt admitted in his plea to hiding a camera in an employee bathroom that was positioned to record video for later playback. Police say eight people were recorded multiple times from about January 2017 through March 2018.