Boateng joins Bayern Munich to end Man City nightmare