In November 1995 the Dayton Agreement was signed by presidents of Croatia, Bosnia and Herzegovina and Serbia that ended the Bosnian war. The Federation of Bosnia and Herzegovina (FBiH) was defined as one of the two entities of Bosnia and Herzegovina and comprised 51% of the territory. The Republika Srpska (RS) comprised the other 49%. However, there were problems with its implementation due to different interpretations of the agreement. An Army of the Federation of Bosnia and Herzegovina was to be created by merging units from the ARBiH and the HVO, though this process was largely ineffective. The Federation was divided into 10 cantons. Croats were a majority in three of them and Bosniaks in five. Two cantons were ethnically mixed, and in municipalities that were divided during the war parallel local administrations remained. The return of refugees was to begin in those cantons. The agreement stipulated that Herzeg-Bosnia be abolished within two weeks.