You will be given a definition of a task first, then some input of the task.
In this task, you are given a question and a context passage. You have to answer the question based on the given passage.

spain did what?, Context: 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. Britain also raised no objection to a German protectorate over the Marshalls in exchange for German recognition of Britain's rights in the Gilbert and Ellice Islands. On October 13, 1885, SMS Nautilus under Captain Rötger brought German emissaries to Jaluit. They signed a treaty with Kabua, whom the Germans had earlier recognized as "King of the Ralik Islands," on October 15.
Output:
began asserting her sovereignty over the Carolines