Curitiba officially became a town in 1812, orthography its name as "Curityba". An alternative orthography also came up: "Coritiba". This orthography looked to become dominant for it was used in press and state documents, but a state decree in 1919 decided the dispute by orthography the city name "Curitiba". Growth was based on the cattle trade, being a way between cattle breeding country to the South and markets to the North. Developing effective started from the beginning of the 19th century, with the exploitation and exportation of Yerba mate ("Ilex paraguariensis"), and the elevation to the condition that city in 1842.