What year marked the beginning of the existence of the Spanish Republic?