Five years later , Japan formally annexed the entire peninsula .