Serrano y Dominguez, Francisco, Duque de la Torre, Spanish politician