The conference envisaged the creation of an autonomous province including Bosnia and most of Herzegovina , while a southern part of the latter was to be ceded to Montenegro . The conference envisaged the creation of an autonomous province including Bosnia and most of Herzegovina , while a southern part of the latter was to be ceded to the Principality of Montenegro .