User: Given this paragraph about speed limits, what was first law regulating speed limits in UK, when was it enacted and what speed limits it set.
Assistant: The first speed limit law in UK was called Locomotive Act, passed in 1861, set a speed limit of 10 miles per hour (16 km/h) in uninhabited areas, and 5 miles per hour (8.0 km/h) within towns.