Grimaldo became Secretary of State for the first time in 1714. It was a turbulent era for Spain, as they had been forced to accept the loss of huge amounts of territory (particularly to Austria in Italy, as well as losing Minorca and Gibraltar to Britain). Grimaldo helped to re-assert Spain, rebuilding its shattered army and navy.