The first Cattle Trespass Act was enacted in 1857. The objective was to protect crops, roads, and embankments from damage by cattle.