From 1630 onward, the Dutch Republic conquered almost half of Brazil's settled European area at the time, with its capital in Recife. The Dutch West India Company (GWC) set up its headquarters in Recife. The governor, Johan Maurits, invited artists and scientists to the colony to help promote Brazil and increase immigration. However, the tide turned against the Dutch when the Portuguese won a significant victory at the Second Battle of Guararapes in 1649. On 26 January 1654, the Dutch surrendered and signed the capitulation, but only as a provisional pact. By May 1654, the Dutch Republic demanded that New Holland was to be given back. On 6 August 1661, New Holland was formally ceded to Portugal through the Treaty of The Hague.