Question: What was the purpose of the castle
Sentence: The heavily fortified castle Vredenburg was built to house a large garrison whose main task was to maintain control over the city.
Answer in sentence: yes