An ancient site, Aleppo's central synagogue housed the legendary Aleppo Codex (one of the oldest complete texts of the Hebrew Bible) but was looted and burned by rioters in 1947. Despite the destruction done by the rioting, the Syrian Jewish community raised funds during the early '90s to partially restore the building which was placed under the protection of the Syrian government. The synagogue's current condition is unknown. Origins: According to legend, the foundation of the synagogue was originally built by King David's general Joab in 950 BCE after he conquered the city (known in Hebrew as Aram Soba). The oldest surviving manuscript found was dated to the year 834CE. The synagogue also features open-air courtyards that were used for services during warm weather, and seven arks, one of which was known as Elijah's Cave and was used to store the Aleppo Codex for 500 years.