In 1588, Philip II of Spain sent the Spanish Armada against England to end English support for Dutch rebels, to stop English corsair activity and to depose the Protestant Elizabeth I and restore Catholicism to England. The Spaniards sailed from Lisbon, planning to escort an invasion force from the Spanish Netherlands but the scheme failed due to poor planning, English harrying, blocking action by the Dutch, and severe storms. A Counter Armada, known as the English Armada, was dispatched to the Iberian coast in 1589, but failed to drive home the advantage England had won upon the dispersal of the Spanish Armada in the previous year. The Admiralty of England existed until 1707 when Kingdom of England and the Kingdom of Scotland united to form the single Kingdom of Great Britain when it then became known as the Admiralty Department or Admiralty of Great Britain.