South Africa’s first female deputy president, Phumzile Mlambo-Ngcuka, has died at the age of 71, the presidency said late on Friday. She also served as a UN under-secretary-general and executive director of UN Women.

A former teacher, Mlambo-Ngcuka was elected to parliament in 1994, in South Africa’s first democratic government. She served as deputy president from 2005 to 2008, overseeing government initiatives to reduce poverty with a focus on women.

Before becoming deputy president, she was minister of minerals and energy and a deputy minister in the Department of Trade and Industry.

In August 2013, Mlambo-Ngcuka took the oath of office as executive director of UN Women. She served two terms at the organization, created to lead the UN’s work on advancing gender equality and women’s empowerment.