The Executioner

According to the book of Deuteronomy, when someone received the death penalty, who was to cast the first stone?