South Africa is the most developed country in Africa and was the largest until 2014, when it was overtaken by Nigeria. The largest sector of the economy is services which accounts for around 73 percent of GDP. Within services, the most important are finance, real estate and business services (21.6 percent); government services (17 percent); wholesale, retail and motor trade, catering and accommodation (15 percent); and transport, storage and communication (9.3 percent). Manufacturing accounts for 13.9 percent; mining and quarrying for around 8.3 percent and agriculture for only 2.6 percent.