It was an agonizing process.