Complex sentence: In Hong Kong, following the transfer its sovereignty to China in 1997, the term was modified to "at executive discretion"; while in Botswana, it became "during the President's pleasure".
Split into simpler sentences: In Hong Kong, following the transfer its sovereignty to China in 1997, the term was modified to "at executive discretion". In Botswana, it became "during the President's pleasure".