I would say contemporary liberal democracy is more the result of the enlightenment era, a time when religious doctrine was being dispelled by scientific inquiry.
The result of that was the transformation from a feudal society with a monarch to a capitalist society with elected representatives.