candidate: The treaty of San Stephano gave Romania and Montenegro their independence , Serbia and Russia each received extra territory , Austria was given control over Bosnia , and Bulgaria was given almost complete autonomy .