Starting at the end of the 19th century, the infrastructure of the municipality was modernised with roads, canalised water and electric light, as well as improvements in the educational system. The economy depended mostly on agriculture and fishing. Tourism is an increasingly important source of revenue, due to the municipality's extensive, picturesque beaches and, more recently, by the paleontological remains, which include fossilised bones, footprints, eggs and even embryos from Jurassic dinosaurs. Many of which can be seen nowadays at the local museum, Museu da Lourinhã.