Abu Umayya was the chief of Mecca at the time when the Kaaba was rebuilt[5]:24 in 605. All the clans of Quraysh shared this task, with the Makhzum clan working on the section between the Black Stone and the southern corner.[2]:84–85