Key advisor of PSOE's Pedro Sánchez during the latter's first spell as party leader, Sánchez appointed Albares to a post in the Prime Minister Cabinet Office, once he became Prime Minister in June 2018: Secretary General of International Affairs, European Union, G20 and Global Security, with rank of Under-Secretary.