Prior to the widespread use of herbicides, cultural controls, such as altering soil pH, salinity, or fertility levels, were used to control weeds.[5] Mechanical control (including tillage) was also (and still is) used to control weeds.