Conversation so far:
who takes over as president if the speaker of the house dies
After speaker of the House of Representatives, the United States presidential line of succession follows with president pro tempore of the Senate.
who takes over as president if the president pro tempore of the senate dies
After president pro tempore of the Senate, the United States presidential line of succession follows with the eligible heads of federal executive departments who form the president's Cabinet.

Question: what statute establishes the line of succession
Self-contained rewrite: what statute establishes the united states presidential line of succession