The name tells you what happened here. Ouro Preto means black gold, after gold that came out of the ground under a coat of iron oxide. A gold-bearing stream was found at Itacolomi in the mid 1690s, and in 1698 the settlement of Vila Rica was founded. In 1711 several small camps were joined into one municipality.
The money was enormous. Vila Rica became capital of Minas Gerais in 1720. By 1750 it had about 80,000 people by one count, when New York had less than half that and São Paulo had fewer than 8,000. Officially, 800 tons of gold went to Portugal in the 1700s, and that leaves out smuggled gold and what stayed behind on church walls.
Wealth bought art. The Barroco Mineiro produced the sculptor Aleijadinho, the painter Manoel da Costa Ataíde, the composer Lobo de Mesquita and the poet Tomás António Gonzaga. Their work is what you walk past today.
The gold was dug by enslaved people, and their mark is on the town. Mina Velha, opened in 1704, was dug by slaves. The Rosário church was built with their labour, and the hilltop Santa Efigênia church, dedicated to an Ethiopian saint, drew enslaved people and their descendants. Tradition says Chico Rei built it and decorated it with gold from the mine that bears his name.
In 1789 the town was the birthplace of the Inconfidência Mineira, a plot to break from Portugal. Its leader, Tiradentes, had seen how much of the region's gold went straight to ships bound for Portugal. The plot failed, he was hanged, and his head was displayed in the square that now carries his name. The Casa dos Contos, once a tax collector's house, was used as a jail for the revolutionaries.
After Brazil's independence in 1822, Dom Pedro I named Ouro Preto an Imperial City in 1823. Schooling came next: South America's first pharmacy school opened in 1839, and in 1876 Dom Pedro II set up the Escola de Minas, the mining school. The School of Mines still stands on Praça Tiradentes.
Then the gold ran out. When the state capital moved to the new city of Belo Horizonte in 1897, the population dropped. With almost no new building, the colonial town survived intact. Getúlio Vargas, who had studied here briefly as a young man, began restoration work in the 1950s. In 1980 Ouro Preto became the first place in Brazil on the UNESCO World Heritage list.
Today tourism sits beside heavy industry. Ouro Preto has a large aluminium plant run by Novelis and mining by Vale, and the municipality digs iron, bauxite, manganese, talc and marble. New buildings must match the historic look.