In 1821, Santorini with its shipping power, took part in the fight for independence from the Turks, and in 1830, the island became part of the independent Greek state. Up until the beginning of the 20th century shipping, textiles, tomato production and viticulture were all flourishing markets, but the change from sail to steam-driven ships and the relocation of the island's factories to mainland Greece had a negative effect on the island's economy. After the 1956 earthquake there was a huge decrease in the population resulting in an economic catastrophe. Towards the end of the 1970s however, tourism began to develop, bringing economic relief to the island. 