however , when the kings sails were at last spotted , all the toprak ships maneuvered into a line which gave them the best chances of defense , just as was done in the sea battles of 400 years previous .