Complex sentence: While his brigade fought in the Siege of Petersburg, Law was transferred to brigade command in Lt. Gen. Wade Hampton's Cavalry Corps, stationed in South Carolina, where he finished the war.
Split into simpler sentences: While his brigade fought in the Siege of Petersburg, Law was transferred to a brigade command in Lt. Gen. Wade Hampton's Cavalry Corps. It was stationed in South Carolina, where he finished the war.