Aleppo appears in historical records as an important city much earlier than Damascus. The first record of Aleppo comes from the third millennium BC, in the Ebla tablets when Aleppo was referred to as Ha-lam (𒄩𒇴). Some historians, such as Wayne Horowitz, identify Aleppo with the capital of an independent kingdom closely related to Ebla, known as Armi, although this identification is contested. The main temple of the storm god Hadad was located on the citadel hill in the center of the city, when the city was known as the city of Hadad.