Taif (, ) is a city and governorate in Mecca Province in Saudi Arabia. Located at an elevation of in the slopes of the Hijaz Mountains, which themselves are part of the Sarat Mountains, the city has a population of 563,282 people in 2022, making it one of the most populous cities in the kingdom.

There is a belief that Taif is indirectly referred to in Quran 43:31. The city was visited by the Islamic prophet Muhammad, sometime in the early 7th century, and was inhabited by the tribe of Banu Thaqif. It is believed that they did not like the idea of him entering the city. It is still inhabited to this day by their descendants. As a part of the Hejaz, the city has seen many transfers-of-power throughout its history, with the last being during the Saudi conquest of Hejaz in 1925.

The city has been called the unofficial summer capital of Saudi Arabia and has also been called the best summer destination in Saudi Arabia as it enjoys a moderate weather during summer, unlike most of the Arabian Peninsula. The city owes its popularity among tourists to its many mountain resorts and moderate climate, even during the harsh summers of Arabia. The city is connected to the nearby resort town of Al-Hada via the iconic Highway 15 (Taif – Al-Hada Road). It stands out from the rest of the Hijazi region as it is a city that plays an active role in the agricultural output of Saudi Arabia and is the center of an agricultural area known for its cultivation of grapes, pomegranate, figs, roses and honey. Taif is also very active in the manufacturing of traditional attar, and is known locally as "City of the Roses" (). Taif also hosts the historic Souq 'Okaz.

The Taif governorate is divided into 15 smaller municipalities, with Ta'if as the capital. The administration of the city itself is carried out by five municipalities, named North Taif, West Taif, East Taif, South Taif and New Taif. Taif is served by the Taif International Airport, with a larger international airport planned to open by 2030.

Name

Much like many of the cities in the Hejazi region, the city of Ta'if had an older name: Wajj (). This was also the name of the Valley of Wajj, a significant valley within Arabian and Islamic history.

Taʾif was given this name due to the wall that was built by the tribe of Banu Thaqif that circulated the city. In short, the city of Taʾif literally means the circulated or encircled city.

History

In the 6th century A.D., the city of Ta'if was dominated by the Thaqif tribe, which still lives in and around the city of Ta'if today. It has been suggested that Jewish tribes who were displaced in the wars of the Himyarite Kingdom by Ethiopian Christians settled near Ta'if. The walled city was a religious centre as it housed the idol of the goddess Lāt, who was then known as "the lady of Ta'if." Its climate marked the city out from its dry and barren neighbours closer to the Red Sea. Wheat, vines and fruit orchards were grown around Ta'if, and this is how the city earned its title "the Garden of the Hejaz." Both Ta'if and Mecca were resorts of pilgrimage. Ta'if was more pleasantly situated than Mecca itself, and their people of Ta'if had close trading relations. The people of Ta'if carried on agriculture and fruit‑growing in addition to their trade activities.

The city then went through many exchanges-of-power, but most of the action within these conflicts took place between Makkah and Medina, and Ta'if dwindled in importance in contrast to the two holy cities.

Under Ottoman rule

On 17 July 1517, the Sharif of Mecca capitulated to the Ottoman Sultan Selim I. As a sign of this, he surrendered to him the keys of the Islamic cities of Mecca and Medina. As part of the Hijaz, Ta'if was also given over to Ottoman control and the city remained Ottoman for a further three centuries, until in 1802, when it was taken by rebels allied with the House of Saud. These forces then proceeded to take Mecca and Medina. The loss was keenly felt by the Ottoman Empire, which viewed itself as the protector of the holy cities. The Ottoman sultan, Mahmud II, called upon the Wali of Egypt, Muhammad Ali, who launched an attack on the Hejaz and reconquered Ta'if in 1813.thumb|right|Landscape from south of Ta'if

The castle and military barracks in Ta'if were repaired by the Ottomans in 1843, a ' – mansion for government business – was built in 1869, and a post office was established sometime later.

Arab Revolt

thumb|right|Road to Ta'if in the foreground, with the [[Hijaz Mountains in the background]]

Prior to the Arab Revolt, Ahmed Bey had been made the commander of Ottoman forces in Tā'if. He had under him a force of 3,000 soldiers and 10 pieces of mountain artillery. Ghalib Pasha, the governor of the Hejaz was also present in the city. In 1916, the Hashemites launched their revolt against the Ottoman Empire in Mecca in June. That city had fallen and then in July, Abdullah, the eldest son of the Hashemite leader and Sharif of Mecca, Husayn ibn Ali, came with seventy men to Tā'if.

Whilst his activities in the area aroused the suspicion of Ahmed Bey, Ghalib Pasha was unconcerned by so small a force. Abdullah secretly built up his army to 5,000 men. He then cut the telegraph wires to the city and took the offensive. All Hashemite assaults on the city were repelled by the mountain guns, and both sides settled down to an uneasy siege. However, Hashemite guns were slowly brought up to Tā'if, and then the city held out a little longer; before finally surrendering on 22 September. The city thus later became a part of the self-proclaimed Hashemite Kingdom of Hejaz.

Saudi conquest and modern history

Ta'if did not remain in Hashemite hands for very long. Tensions between the King of the Hejaz, Husayn ibn Ali, and Abdulaziz al-Saud, the Emir of Nejd and Hasa, soon broke out into violence. Although hostilities subsided in 1919, by September 1924, the then Saudi-sponsored Ikhwan militia, under the leadership of Sultan bin Bajad and Khaled bin Luwai', was ready to attack Ta'if. The city was supposed to have been defended by the king's son, 'Ali, but he fled in panic with his troops. Three hundred of 'Ali's men were slain by the Ikhwan in what became known as the Ta'if massacre. The king himself was later to die in the city on 9 November 1953, as did King Khalid on 13 June 1982.

Ta'if was still little more than a medieval city when the Saudis took control of it. However, they later embarked on a project of modernizing the city. Saudi Arabia's first public power generator was set up in Ta'if in the late 1940s. In terms of building roads to the isolated city, in 1965 the then King Faisal inaugurated the mountain highway between Mecca and Ta'if, now part of Highway 15 and known as the Taif – Al-Hada Road. In 1974, the approximately-650-kilometer Ta'if-Abha–Jizan highway was commissioned part of the Highway 15. By the 1991 Gulf War, Ta'if was such a modern city in terms of communications that it was chosen as the site of the Rendon Group's television and radio network, which was used for communication with Kuwait during the Iraqi occupation.

Geography

alt=|thumb|320x320px|Historic sadd (, dam) in Ta'if

The entirety of the Ta'if governorate is situated on a raised valley surrounded by the Hejaz Mountains (part of the Sarat mountains) to the west and south. The city is situated at an elevation of above mean sea level. For comparison, the surrounding mountains which separate Ta'if from nearby villages such as Al-Hada and Ash-Shafa, range in height anywhere from . Ta'if is known to have had many wadis with running water before, suggested by the presence of dams along many of these. Taif's highest point, the Jebel Daka is even the fifth highest peak of Saudi Arabia.

Climate

Ta'if has a hot desert climate (Köppen climate classification BWh), with hot summers and mild winters. It is much cooler in Ta'if during the summertime than in other parts of Saudi Arabia, particularly compared to Riyadh. Precipitation is low, but all months see some rain, with more rain in spring and late autumn than in other months.