 Póvoa de Varzim claimed that its municipality corresponded to the medieval Villa Euracini or the old parish of Argivai.On the other hand, Barcelos justified that it had most status in the region; and under the domain of the House of Bragança it kept the Gândara in its domains, leaving the town of Póvoa de Varzim divided in half, controlling only the royal land given by King Denis (the southwest of the current parish of Póvoa de Varzim in its domains).In 1707, following a royal determination, Corregedor Gaspar Cardoso demarcates the municipality of Póvoa de Varzim, including most of Gândara, considering groundless the demarcations of the House of Bragança.