here was the heart of the old british concession , which had established itself in 1842 and held convulsively to power for nearly a century , until the japanese finally captured the city during world war ii .