The Madison County Sheriff's Office says one of their deputies accidentally shot himself in the leg during a raid in North Huntsville on Elizabeth Street.