The story of Iron starts with the production of Bronze. Bronze is an alloy of 90% copper. Depending on what constitutes the other 10% we get different types of bronze. The most common type which kick started the bronze age around 3500 BCE in western Asia is tin bronze. Unlike copper ore, tin is hard to find but a small amount of it can significantly improve the quality of copper and make it usable and strong. Ancient smelters produced bronze by melting the natural copper ore mixed with tin ore in simple kilns. The resulting bronze was the primary metal used in tools and arts for more than 2500 years.
Iron is a common impurity in copper ores. We also know that iron ore can, and was, used as a flux in the process of smelting copper. In simple terms, a flux agent is a chemical that attracts oxygen to itself and protects the primary product, which is copper, from oxidizing in high temperatures. Therefore, across the ancient world, bronze smelters had been encountering molten iron when they raised the kiln temperature high enough. However, they discarded the resulting metal because its copper impurity made it too soft and inferior to bronze.
Around 1,200 BCE the collapse of bronze age civilizations in the near east due to a “perfect storm” of drought, famine, disease, immigration and war affected trade routes that brought tin ore to the western Asia. During this time of bronze shortage some smelters seem to have resorted to using the lower quality iron for tool making. They had observed that adding carbon to iron makes it much harder but prone to breaking. We have evidence of iron tools built with layers of soft and hard iron to achieve desired outcomes. Over time iron smelters experimented with different amounts of carbon impurity and achieved desired levels of hardness and strength.