In the 1180s the wife of Béla III of Hungary, Margaret Capet, who was the step-sister of the French king Philippe Auguste, granted land around the village to a knight named Aynard, in recognition of his service to the King for safely escorting Margaret from Paris to Esztergom in 1186.
The only identifiable person in the king's entourage named Aynard was at one time the Viscount of Limoges, who had been outlawed by the Anglo-Norman court of Henry II in 1183.
Positioned at an important merchant route — halfway between Esztergom and Székesfehérvár and near Buda — the village underwent rapid growth.
Settlers from Germany, who came to live in the abandoned village after the Turkish occupation, took the stones from the church and used them for building houses and fences.
[2] In 1946, as part of the larger expulsion of Volksdeutsch from central Europe, 3,700 German inhabitants of Zsámbék—or approximately 95% of the town's population—were forcibly resettled to Germany.