The complex and often contentious efforts to establish a functioning state and governance structures.