AI and Democracy: Shaping the 2024 Elections