By the time the Taliban took over Afghanistan in mid-August, at the main hospital in Maidan Shar, a city of 35,000 in the center of the country, many of the staff had been paid in months. Essential supplies such as medicine and food were scarce and disappearing fast.