So it seems that Isabel Ayuso's big gamble has paid off. Her right-wing Popular Party (PP) was the big winner in Madrid's regional election on Tuesday, doubling its vote but falling short of an overall majority.
It means the PP will probably do a deal with the hard-right Vox Party to form a new government. Officially this was a regional election, but its impact will be felt across Spain, especially given Madrid's importance both symbolically and economically.
Tuesday's vote came after a heated and divisive campaign during which candidates received death threats and a televised debate descended into chaos, with one candidate walking out.