Question: what were the walled forts of Fort William in Bengal, Fort St George in Madras and Bombay castle before they were forts?
Sentence: The major factories became the walled forts of Fort William in Bengal, Fort St George in Madras, and Bombay Castle.
Answer in sentence: yes