sentence1: From 1826, British law was technically in force (except for Muslim custom), but in practice few British lived in the Straits, and Asian community affairs were run by merchant leaders serving as unofficial kapitans.
sentence2: From 1826 British law was strictly enforced upon the people of the Straits.