I want to know the answer to the following question:
what were the walled forts of Fort William in Bengal, Fort St George in Madras and Bombay castle before they were forts?
All the background I'm provided with is that "The major factories became the walled forts of Fort William in Bengal, Fort St George in Madras, and Bombay Castle.". Is that enough to answer the question?