The Croat–Bosniak alliance, formed at the beginning of the war, was often not harmonious. The existence of two parallel commands caused problems in coordinating the two armies against the VRS. An attempt to create a joint HVO and TO military headquarters in mid-April failed. On 21 July 1992, the Agreement on Friendship and Cooperation was signed by Tuđman and Izetbegović, establishing a military cooperation between the two armies. At a session held on 6 August, the Bosnian Presidency accepted HVO as an integral part of the Bosnian armed forces.