A senior British judge who resigned last week from Hong Kong's top court warned Monday that rule of law in the financial hub was in "grave danger" due to the political environment created by China.

The opinion piece by Jonathan Sumption, published in the Financial Times, comes the same day that Beverley McLachlin announced her resignation from Hong Kong's Court of Final Appeal, citing her wish to spend more time with family.

McLachlin, 80, is the third overseas judge to announce a departure over the past week, following the resignations of Sumption, 75, and Lawrence Collins, 83 — both former justices of the Supreme Court of the United Kingdom.