1864

Matthew Paul Deady, The Organic and Other General Laws of Oregon Together with the National Constitution and Other Public Acts and Statutes of the United States. 1845-1864 Page 531, Image 531 (1866) available at The Making of Modern Law: Primary Sources.

Oregon

Crimes – Against the Person, § 527. If any person shall assault, or assault and beat another with a cowhide, whip, stick or like thing, having at the time in his possession a pistol, dirk or other deadly weapon, with intent to intimidate and prevent such other from resisting or defending himself, such person upon conviction thereof, shall be punished by imprisonment in the penitentiary not less than one, nor more than ten years.
Sentence Enhancement for Use of Weapon