When did David capture the city of Jerusalem?

David captured the city of Jerusalem in approximately 1000 BCE. After defeating the Jebusites, the inhabitants of Jerusalem at the time, he declared it the capital of the United Kingdom of Israel.
Copyright Wanderlust World © https://www.ynyoo.com