Complex sentence: Daoiz volunteered to help defend Ceuta against the Moors in 1790 and was given command of an artillery battery, he remained in North Africa to assist with the defence of Oran in 1791, spending part of the time with a unit of miners.
Split into simpler sentences: Daoiz volunteered to help defend Ceuta against the Moors in 1790 and was given command of an artillery battery. He remained in North Africa to assist with the defence of Oran in 1791, spending part of the time with a unit of miners.