This morning, Joey built a sand castle on the beach, and put a toy flag in the highest tower, but this afternoon the wind knocked it down.
Question: who or what does "it" refer to?
Options: The sand castle, The flag
Answer: option 1
Source: Ernest Davis