 King Denis authorized a foral ("charter") for the settlement on 15 November 1297.In the 15th century, King John I of Portugal ordered the first cultivation of sugar cane in continental Portugal.Created in 1916, the civil parish quickly became known for its beaches, fishing and its forests of pine.