During the 19 century Upper and Lower Nyék were differentiated, even after 1861, when the Southem Railway was built. It is mentioned as an independent village first in 1871, to which Pettend was attached in 1898. Mihály Vörösmarty was born here.