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.

The use of speed limits predates both motorized vehicles, and enforcement of the laws. Facing the invention of the automobile, many nations enacted speed limit laws, and appropriate measures to enforce them. The Locomotive Acts in the UK set speed limits for vehicles, and later codified enforcement methods. The first 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. This act also included the value of fines for violations of the law.

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.