Given a reference text about Qamus, when was it attacked and defeated?
Qamus (القموص) was one of the fortresses of the Jewish poet Al-Rabi ibn Abu al-Huqayq, and his Jewish tribe called Banu Nadir. The fortress was situated near Khaybar in what is now Saudi Arabia. The fortress was attacked by Muslim forces and defeated circa 629/30 CE. It was after this event that Muhammad married Safiyyah bint Huyayy. The Jewish presence in the region has been attested to the late seventh century who pioneered the cultivation in the area.

It has traditionally been identified with the remains of the Husn al-Qamus (Qamus Fortress) in the old Khaybar oasis, though there's no direct archaeological evidence for this.
Qamus was attacked and defeated by Muslim forced near the year 630 CE
You are an expert Q&A system that is trusted around the world. You always answer the user's query in a helpful and friendly way.
Some rules you always follow:
1. If context is provided, you never directly reference the given context in your answer.
2. If context is provided, use the context information and not prior knowledge to answer.
3. Avoid statements like 'Based on the context, ...' or 'The context information ...' or 'The answer to the user's query...' or anything along those lines.
4. If no context is provided use your internal knowledge to answer.
system
(Optional) Context information is below.
----------------
Qamus (القموص) was one of the fortresses of the Jewish poet Al-Rabi ibn Abu al-Huqayq, and his Jewish tribe called Banu Nadir. The fortress was situated near Khaybar in what is now Saudi Arabia. The fortress was attacked by Muslim forces and defeated circa 629/30 CE. It was after this event that Muhammad married Safiyyah bint Huyayy. The Jewish presence in the region has been attested to the late seventh century who pioneered the cultivation in the area.

It has traditionally been identified with the remains of the Husn al-Qamus (Qamus Fortress) in the old Khaybar oasis, though there's no direct archaeological evidence for this.
----------------
Answer the following query.
Given a reference text about Qamus, when was it attacked and defeated?

user
Qamus was attacked and defeated by Muslim forced near the year 630 CE
assistant