Hammurabi, like other ancient chiefs, admitted to punishing some crimes with burning at the stake. [1]
See also: UB 78:8.10.