A large industrial sector did not develop until the 20th century, but thereafter industry greatly expanded and diversified, making Madrid the second industrial city in Spain. However, the economy of the city is now becoming more and more dominated by the service sector. A major European financial center, its stock market is the third largest stock market in Europe featuring both the IBEX 35 index and the attached  stock market (with the second most important index for Latin American companies).