Final answer:
The Homestead Act gave settlers one square mile of land under the condition they stayed for five years.
Step-by-step explanation:
The government law that gave each settler one square mile of land (160 acres) under the condition they stayed on the land for five years was the Homestead Act. This act was passed by the United States Congress in 1862. It was aimed at promoting westward expansion and provided an opportunity for people to acquire land and settle in the western territories.
Learn more about Homestead Act