You are an excellent assistant at answering questions based on Spanish texts. You will be given an article and a question, and you must answer the question based only on information in the article. The response should be extracted from the context verbatim.

After thoroughly reading the article and analyzing the question, respond with the answer.

Title:
Israel

Context:
The Second Aliyah (1904–14), began after the Kishinev pogrom; some 40,000 Jews settled in Palestine, although nearly half of them left eventually. Both the first and second waves of migrants were mainly Orthodox Jews, although the Second Aliyah included socialist groups who established the kibbutz movement. During World War I, British Foreign Secretary Arthur Balfour sent the Balfour Declaration of 1917 to Baron Rothschild (Walter Rothschild, 2nd Baron Rothschild), a leader of the British Jewish community, that stated that Britain intended for the creation of a Jewish "national home" within the Palestinian Mandate.

Question:
How many Jews settled into Palestine?

40,000