Complex sentence: The first habitants came from the neighbouring parish of Maia, establishing themselves here by about 1500, where they built a chapel dedicated to the "Santos Reis Magos" (literally,, who were protectors of Portuguese navigators and explorers).
Split into simpler sentences: The first habitants came from the neighbouring parish of Maia around 1500. They built a chapel dedicated to the "Santos Reis Magos" (literally,, who were protectors of Portuguese navigators and explorers).