A person is guilty of a summary offense if he enters or causes to be entered for competition, or competes for any purse, prize, premium, stake or sweepstake, offered or given by any agricultural or other society, association, or person, any horse, mare or gelding, colt or filly, under an assumed name, or out of its proper class, when such prize, purse, premium, stake or sweepstake is to be decided by a contest, in running, trotting or pacing races.
18 Pa.C.S. § 7101