40
And David danced with all his might before the Lord; and David was girded with a linen ephod. And David and all the house of Israel brought up the ark of haShem with shouting and with the sound of [the] shofar. (Shmuel II, Chapter 6, 14-15)
Aron haBrit remained in Ir David, Jerusalem until the building of the Beit haMikdash (Jerusalem Temple) by David’s son Shlomo. It is said that all that time Chapter 105 (“Offer praise to haShem”) was sung every morning in front of the Ark.