The history of the Jews in Kyiv stretches from the 10th century CE to the 21st century, and forms part of the history of the Jews in Ukraine. Middle Ages and Renaissance The first mention of Jews in Kyiv is found in the 10th century Kievian Letter, written by Jews from Cairo in ancient Hebrew. It is the oldest written document to mention the name of the city. Jewish travelers such as Benjamin of Tudela and Pethahiah of Regensburg mentioned the city as one with a large Jewish community. During the Mongol occupation the community was devastated, together with the rest of the city, but the community revived with the acquisition of the city by the Polish–Lithuanian Commonwealth. During Polish–Lithuanian rule, Jews were allowed to settle in the city, but they were subject to several deportations in 1495 and again in 1619. During the Khmelnytsky Uprising in 1648 most of the Jews in the city were murdered by Zaporozhian Cossacks, along with most of the Jews in Ukraine. After the Russian occupation in 1654, Jews were not allowed to settle in the city. This ban was lifted only in 1793 after the Third Partition of Poland. Modern history In the 19th century the Jewish community flourished and became one of the biggest communities in Ukraine. In 1815, the Jewish population was 1,500, and would continue to grow, reaching over 81,000 nearly one hundred years later in 1913. In that period many synagogues were built including the city's main synagogue, the Brodsky Choral Synagogue. Jewish schools and workshops were built all around the city. The community suffered from a number of pogroms in 1882, and again in 1905, when hundreds of Jews were murdered and wounded. The Beilis trial, in which a local Jew, Beilis, was accused of the ritual murder of a child, took place in the city in 1913. Beilis was found innocent. During the Russian Revolution and the Ukrainian War of Independence the city switched hands several times with new pogroms against the Jews. After the establishment of the Ukrainian SSR the Jewish population grew rapidly and reached approximately 224,000 people in 1939. At the beginning of the Nazi invasion of the Soviet Union most Jews escaped from the city. The remaining 33,771 Jews were concentrated in Babi Yar, and were executed by shooting on September 29-30th 1941, in an act that became one of the most notorious