It was controlled by a bunch of psychopaths called the Taliban until shortly after September 11 2001, when the US military drove them from power. The Taliban was replaced by a loose group of tribal leaders who hate each other even more than they hate the Americans.
See