Francesc Pi i Margall was a Catalan federalist and libertarian socialist statesman, historian, and political philosopher and romanticist writer. He was briefly president of the shortlived First Spanish Republic in 1873.
Pi was the son of a workingclass textile worker in Barcelona and was born onApril 1824. Pis father enrolled him in a religious school in 1831 where he acquired an education in the humanities and the classics. He was a member of the Societat Filomtica, enabling him to meet some of the main thinkers and writers of the Catalan romanticist movement. In 1837, he left to study law, graduating with a law degree in 1847. He moved to Madrid that year and began writing for the journal El Renacimiento and for El Correo as a theater critic, in which Pis first political article was published. In need of further income, Pi also took a job for Mart, a Catalan bank.
Source: Wikipedia