By the end of the 16th century, Malta's harbour area was extensively fortified. However, the rest of the islands was virtually undefended, and the coastline was open to attacks by Ottomans or Barbary corsairs. This began to change in the early 17th century, when Martin Garzez, Grand Master of the Order of Saint John, allocated funds for the building of Garzes Tower on Gozo. Garzes' successor, Alof de Wignacourt, set out to build a series of towers around the coastline, which were personally funded by him and came to be known as the Wignacourt towers.