How do you deal with TPK post?

A campaign with a fixed group, they explore a dungeon almost until the end, but take a TPK. A whole group of new characters resurface, the characters don't know about the dungeon, but the players do. How do you deal with what has already been explored in this case?

Do new characters inherit any XP from old Characters or do they start at level 1?