It shall be, that he who is taken with the devoted thing shall be burnt with fire, he and all that he has; because he has transgressed the covenant of Yahweh, and because he has done folly in Israel.
Israel resorted to the casting of lots when no eyewitness could testify against a criminal (cf. 1 Samuel 14:41-42; Jonah 1:7; Proverbs 18:18). Probably the high priest used the Urim and Thummim to identify Achan (cf. Numbers 27:21).