I want to know the answer to the following question:
What was the purpose of the castle
All the background I'm provided with is that "The heavily fortified castle Vredenburg was built to house a large garrison whose main task was to maintain control over the city.". Is that enough to answer the question?
Answer: yes