He was elected vice-president (vice-governor) of the state in 1896, and due to the resignation of the governor Graciano dos Santos Neves on September 23, 1897, Sodré occupied again the office as governor from until January 6, 1898, when a new governor, José Marcelino Pessoa de Vasconcellos, elected by the people to finish the 1896–1900 term, took the charge.