The army was officially set up on 31 May. This involved renaming existing Haganah and Palmach Brigades and bringing them under one central command. Its officers began to take their oaths of allegiance on 27 June.[3] Lehi and Irgun came under central control in the following months.