Where was beheading once allowed as an option for execution?

Where was beheading once allowed as an option for execution?