“Catalans, interpretant els sentiments i els anhels del poble que ens acaba de donar el seu sufragi proclamo la República Catalana” (“Catalans, interpreting the feelings and their yearning of the people who have given us their vote I proclaim the Catalan Republic”).
It only lasted for a few days. The Catalan President Francesc Macià declared a Catalan Republic, a state within an Iberian Federation. As usual, Spain threatened military intervention and he had to back off.
Recording of his speech (sorry, no english subtitles):
And through Wikipedia I find an article on the New York Times talking about it.