Portugal overthrows its monarchy and declares itself a republic.