Hebrew was always regarded as the language of Israel's religion, history and national pride, and after it faded as a spoken language, it continued to be used as a "lingua franca" among scholars and Jews traveling in foreign countries. After the 2nd century CE when the Roman Empire exiled most of the Jewish population of Jerusalem following the Bar Kokhba revolt, they adapted to the societies in which they found themselves, yet letters, contracts, commerce, science, philosophy, medicine, poetry and laws continued to be written mostly in Hebrew, which adapted by borrowing and inventing terms.