Complex sentence: Donkin was then transferred, in the role of quartermaster-general, to the Mediterranean command in which he served from 1810 to 1813 taking part in the Catalonian expeditions.
Split into simpler sentences: Donkin was then transferred, in the role of quartermaster-general, to the Mediterranean command. He served there from 1810 to 1813, taking part in the Catalonian expeditions.