Concurrent with the transition from bronze to iron was the discovery of carburization, the process of adding carbon to wrought iron. While the iron bloom contained some carbon, the subsequent hot-working oxidized most of it. Smiths in the Middle East discovered that wrought iron could be turned into a much harder product by heating the finished piece in a bed of charcoal, and then quenching it in water or oil. This procedure turned the outer layers of the piece into steel, an alloy of iron and iron carbides, with an inner core of less brittle iron.