Jerusalem has a long history dating back to Abraham. It has been ruled by many different groups including the Canaanites, Israelites, Babylonians, Persians, Greeks, Romans, Byzantines, Muslims, and others. Key events include King David establishing Jerusalem as the capital of Israel in 1000 BC, the destruction of the first temple by the Babylonians in 586 BC, the rebuilding of the second temple by the Persians in 516 BC, and the destruction of the second temple by the Romans in 70 AD.