Complex sentence: He was appointed Judge of the British Supreme Court for China and Japan (based in Shanghai) from 1905 to 1921 and President of the Full Court of the Supreme Court of Hong Kong from 1910 to 1920.
Split into simpler sentences: He was appointed Judge of the British Supreme Court for China and Japan (based in Shanghai) from 1905 to 1921. By virtue of his position as Judge of the Supreme Court at Shanghai he served as President of the Full Court of the Supreme Court of Hong Kong from 1910 to 1920.