On December 1, 1640, Portugal revolted against the Spanish rule and restored Portuguese independence.