qnli question: What nation formed a protectorate over the Marshall Islands? sentence: Although the Spanish Empire had a residual claim on the Marshalls in 1874, when she began asserting her sovereignty over the Carolines, she made no effort to prevent the German Empire from gaining a foothold there.