At midnight Yahweh killed all the oldest sons of the Egyptian people, all over Egypt. That included the king’s oldest son, the oldest sons of the prisoners in the dungeon/jail, and the oldest sons of everyone else. He also killed the oldest males of all the Egyptians’ livestock.