University of Coimbra
In 1804, he was sent to the University of Coimbra, where he graduated in Law in 1809.