If "Fred watched TV while George went out to buy groceries. After an hour he got up.", is "Fred got up." correct?

Options are:
A). no
B). yes
Answer:
B).