During the American War of Independence, which general switched allegiances and joined the British side?

During the American War of Independence, which general switched allegiances and joined the British side?