Ta'if is a city in Saudi Arabia with an area of 321 km² and a population of 579 970 people, first mentioned in 501.