How does the sentence end?

Mark could either study in the library or the courtyard. He chose the
library because it was raining outside.