The first mechanically-propelled, two-wheeled vehicle may have been built by Kirkpatrick MacMillan, a Scottish blacksmith, in 1839, although the claim is often disputed. He is also associated with the first recorded instance of a cycling traffic offense, when a Glasgow newspaper in 1842 reported an accident in which an anonymous "gentleman from Dumfries-shire... bestride a velocipede... of ingenious design" knocked over a little girl in Glasgow and was fined five shillings.
The federal Consumer Product Safety Act defines a "low speed electric bicycle" as a two or three wheeled vehicle with fully operable pedals, a top speed when powered solely by the motor under 20 mph (32 km/h) and an electric motor that produces less than 750 W (1.01 hp). The Act authorizes the Consumer Product Safety Commission to protect people who ride low-speed electric vehicles by issuing necessary safety regulations. The rules for e-bikes on public roads, sidewalks, and pathways are under state jurisdiction, and vary.