Flagellation, also known as flogging, whipping, or lashing, was banned by the US Army.

Source