Pelosi’s remarkable legacy