The provincial French lawyer in the 19th century became the king of one state in South America