Prior to the widespread use of herbicides, cultural controls, such as altering soil pH, salinity, or fertility levels, were used to control weeds. Mechanical control including tillage and flooding were also used to control weeds. In the late 19th and early 20th centuries, inorganic chemicals such as sulfuric acid, arsenic, copper salts, kerosene and sodium chlorate were used to control weeds, but these chemicals were either toxic, flammable or corrosive and were expensive and ineffective at controlling weeds.