Original: When his regiment was sent from London to Manchester he resigned his commission because of Manchester's poor reputation and atmosphere and the lack of culture and civility exercised by the general populace.
Simplified: When his regiment was sent from London to Manchester he resigned his commission.