Those six sons were born to David in Hebron. He ruled there for seven and a half years. After that, he ruled in Jerusalem for 33 years.