A mass extinction created the ecological conditions that set the stage for a dramatic shift in marine life.