The economy of South Africa is the second largest in Africa (after Nigeria) and the most industrialized, technologically advanced, and diversified economy in Africa. South Africa is an upper-middle-income economy, one of only eight such countries in Africa. Following 1996, at the end of over twelve years of international sanctions, South Africa's nominal gross domestic product (GDP) almost tripled to a peak of US3 billion to nearly US13.5 billion, the economy of South Africa has diversified since the end of apartheid, particularly towards services. In 2019, the financial industry contributed US1.41 trillion in assets. The total market capitalization of the Johannesburg Stock Exchange is US$1.28 trillion as of October 2021. The state-owned enterprises of South Africa play a significant role in the country's economy, with the government owning a share in around 700 SOEs involved in a wide array of important industries. In 2016 according to business executives, the top five challenges to doing business in the country were inefficient government bureaucracy, restrictive labour regulations, a shortage of skilled workers for some high-tech industries, political instability, and corruption. On the other hand, the country's banking sector was rated as a strongly positive feature of the economy. The nation is among the G20, and is the only African member of the group. Economic history of South Africa The formal economy of South Africa has its beginnings in the arrival of Dutch settlers in 1652, originally sent by the Dutch East India Company to establish a provisioning station for passing ships.