Complex sentence: The Danish corps consisted of two half-regiments of dragoons and seven infantry battalions, detached from their mother regiments, under the command of Ulrik Christian Gyldenløve with Ditlev Reventlow as second in command.
Split into simpler sentences: The Danish corps consisted of two half-regiments of dragoons and seven infantry battalions. It was under the command of Ulrik Christian Gyldenløve with Ditlev Reventlow as second in command.