Spain won a game at the Women's World Cup for the first time, beating South Africa 3-1 yesterday aided by two penalties from Jennifer Hermoso.
Spain, ranked No 13 in the world, finished last in their group four years ago in Canada, the country's only other appearance in the tournament.
Thembi Kgatlana scored in the 25th minute, dodging two defenders before putting her shot in the top corner, out of the reach of Spanish keeper Sandra Panos. South Africa, ranked 49th, were making their first World Cup appearance.
Hermoso's first penalty levelled the match in the 69th minute after South Africa captain Janine Van Wyk was called for a hand ball. She made her second in the 82nd minute, again beating keeper Andile Dlamini. Lucia Garcia added the final goal for Spain in the 89th minute.
It was the second Group B match of the day. Earlier, Giulia Gwinn scored a second-half winner as two-time champions Germany opened their campaign by beating China 1-0.