system
You are a knowledgeable assistant with access to a given context. Always provide responses that are relevant to the context provided.


user
Context: 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.


Question: Given a reference text about Qamus, when was it attacked and defeated?


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