Complex sentence: McKee continued in the service of Pennsylvania for some time after the outbreak of the American Revolutionary War, but following mistreatment by the settlers, he left the Americans in favor of the British at Detroit.
Split into simpler sentences: McKee continued in the service of Pennsylvania for some time after the outbreak of the American Revolutionary War. Following mistreatment by the settlers, he left the Americans in favor of the British at Detroit.