 In the Dutch–Portuguese War that followed many erstwhile Portuguese possession fell into Dutch hands.Between 1638 and 1640 the Netherlands even came to control part of Brazil's northeast region, with their capital in Recife.The Portuguese won a significant victory in the Second Battle of Guararapes in 1649.