The Treaty of Nonsuch ended the conflict with Spain. It was signed on August 25th 1585. Under its terms, Spain agreed to withdraw all troops from the Netherlands and pay compensation to those affected by the Spanish Fury. In return, Elizabeth promised to stop supporting the Dutch rebels.