during his term he was most of the time in madrid