Complex sentence: He was promoted to major on 13 April 1809 and appointed deputy-quartermaster-general in the Portuguese army and was present at many of the battles of the Peninsular War.
Split into simpler sentences: He was promoted to major on 13 April 1809. Subsequently he was appointed deputy-quartermaster-general in the Portuguese army and was present at many of the battles of the Peninsular War.