Between 1541 and 1688 the village was under Ottoman rule, and during the 150-year war it was completely destroyed. During the freedom fight led by Prince Ferenc II Rákóczi of Transylvania, the place was deserted again. In the 18th century the village began to prosper. In 1830 the village was given the right to hold markets days twice a week. In 1831 there was a cholera epidemic and which caused a small scale peasants revolt. In 1833 Pentele was granted town status "(oppidum)" by Ferdinand V. The citizens took part in the freedom fight in 1848–49.