How does the sentence end? See options at the end

The captain went into the harbor in order to replace the ship anchor and kept the chain because the

[i] anchor was broken.;
[ii] chain was broken.;
[i]