Complex sentence: He received the Lieu-Colonelcy of the 62nd Regiment in 1782, and soon afterwards he returned to Scotland, where he remained with his regiment until 1789.
Split into simpler sentences: He received the lieutenant-colonelcy of the 62nd Regiment in 1782. Soon afterwards, he returned to Scotland, where he remained with his regiment until 1789.