Kabul's history dates back more than 5,000 years. It was once the center of Zoroastrianism and subsequently also a home for thousands of Buddhists and Hindus. The Arabs tried to conquer the area in the 7th century, but they were defeated by the Hindu Shahi's of Kabul. The area was conquered by Mahmud Ghaznavid in 1002, when the Hindu Shahi King Jay Pala committed suicide. It was overshadowed by Ghazni and Herat until Babur made it his capital in 1504. It remained under Moghul rule until its capture in 1738 by Nader Shah of Persia followed by Ahmad Shah Durrani. It succeeded Kandahar as Afghanistan's capital in 1776.During the First Anglo-Afghan War in 1839, the British army took over Kabul. In 1842, the withdrawing British troops were ambushed and almost annihilated after the Afghans had promised them safe conduct; in retaliation another British force partly burned Kabul. The British again occupied the city in 1879, after their resident staff were massacred there. On December 23, 1979, Soviet armed forces landed at Kabul International Airport to help bolster a Communist government.Kabul became the Soviet command center for approximately 10 years during their stay in Afghanistan. In February 1989, Soviet forces withdrew from the city after they were defeated by the Afghan Mujahideens. In spring of 1992 the government of Mohammad Najibullah collapsed, Kabul fell into the hands of Mujahideen forces. Destruction of the city increased as the coalition of the parties broke into rival warring factions, and much of Kabul was damaged. In 1996 the Taliban took over the city and started a new strict Islamic Sharia law which included Islamic schools, government, clothing, food, and recruitment to Al Qaeda, impacting the Afghan people's daily life. Some people happier with the strict Islamic laws, while some were unhappy.On September 11, 2001, the World Trade Center was hit by Osama bin Laden's Al Qaeda group. On November 12, 2001, American military forces finally took over Kabul City, the Taliban forces fled by then. Kabul was under a new regime, and re-construction of new buildings, schools, and universities slowly began.