Complex sentence: The land forces fought for Portuguese independence against the Leonese and the Moors in the 12th century, against the Castilian invaders in the 14th century, against the Spanish Habsburgs in the 17th century, and against French invaders in the Peninsular War in the 19th century.
Split into simpler sentences: The land forces fought for Portuguese independence against the Leonese and the Moors in the 12th century, against the Castilian invaders in the 14th century. In the 19th century, the Army fought against French invaders in the Peninsular War in the 19th century.