IT TOOK a while, but Afghanistan has at last got a new president. After a four-month stand-off during which his rival, Abdullah Abdullah, accused him of stealing the election, Ashraf Ghani, a Pushtun technocrat with a notable temper, was inaugurated on September 29th. As part of the settlement, Dr Abdullah comes into the government in the newly created position of chief executive (in effect, prime minister). It remains unclear how the new arrangement will work; what is certain is that the stand-off damaged the economy, threatened to reopen ethnic divisions and, most dangerous of all, allowed the Taliban and other insurgents to regroup.