The Taliban ruled Afghanistan according to their strict version of Islamic law. People whom the Taliban believed violated these laws were given cruel punishments. In addition, the Taliban completely restricted the rights of women. Because of such policies, most countries refused to recognize the Taliban government. Only Pakistan, Saudi Arabia and the United Arab Emirates (UAE) accepted them as the official government.