The Spanish newspaper El PaÃ­s has appointed its first female editor in its 42-year history at the end of a week that has also seen a record number of women chosen to serve in the new governmentâs cabinet.

So ledad Gallego-DÃ­az, 67, joined the paper shortly after its founding in 1976 and has been its correspondent in Brussels, London, Paris, Buenos Aires and New York. She has also served as deputy editor and ombudsman.

She was nominated by El PaÃ­sâs board and received the backing of more than 97% of the paperâs staff in a vote on Thursday.

Addressing the paperâs journalists on Friday morning, Gallego-DÃ­az reminded them that they existed to serve their readers. âThey know what they can call on us for and what they canât, and what they fundamentally want from us is that we donât stray from the truth,â she said.

Her nomination still needs to be formally approved by the board of directors of El PaÃ­s, the biggest Spanish-language publication in the world and an institution both in Spain and Latin America.

Gallego-DÃ­az replaces Antonio CaÃ±o, who occupied the post since 2014.

Under his editorship, the paper was scathing in its editori al opinion of the Socialist party leader, Pedro SÃ¡nchez, who became Spainâs prime minister last week after deposing his conservative predecessor in a no-confidence vote.

Gallego-DÃ­azâs appointment comes a month after El PaÃ­s announced that it had created the role of gender correspondent in recognition of the fact that society was undergoing a âprofound changeâ after the #MeToo movement and recent large-scale womenâs rights protests across the country.

The change is also evident in politics. SÃ¡nchez appointed 11 women and six men to his cabinet on Wednesday, saying his government was âunmistakably committed to equalityâ.

He said his would be the first majority-female cabinet since Spain returned to democracy following the death of Gen Francisco Franco in 1975.

âThis is a highly qualified government for a society with equal representation, open to the world but anchored in Europe,â he said.