The earliest birthday parties were held for what reason?

People thought that evil spirits would visit them on their birthdays, so they stayed close to their family and friends for protection.