text: It lost its empire in America and the Pacific , and then in 1923 suffered a humiliating defeat in Morocco at the hands of local rebels .
  
  ###
  
  The local rebels won due to its lack of military power in the region .