Different parts of Tripoli now controlled by rival rebel groups. What could go wrong?

A week after rebels broke into Col. Muammar el-Qaddafi’s former stronghold, much of its territory remains divided into fiefs, each controlled by quasi-independent brigades representing different geographic areas of the country. And the spray paint they use to mark their territory tells the story of a looming leadership crisis in the capital, Tripoli.

The top civilian officials of the Libyan rebels’ Transitional National Council — now styling itself as a provisional government to be based in the capital — are yet to arrive, citing personal safety concerns even as they pronounce the city fully secure.

There are growing hints of rivalry among the various brigades over who deserves credit for liberating the city and the influence it might bring. And attempts to name a military leader to unify the bands of fighters have instead exposed divisions within the rebel leadership, along regional lines but also between secularists and Islamists.