During Israel's fight for independence between 1945 and 47, the Jewish leadership created the Military Police out of the organization, which became a small contingent of four units (Disciplinary Military Police, Traffic Supervision Military Police, Investigations Military Police, and the Prison Division), each proficient in its respective field. Originally, this force consisted of only 160 soldiers and officers, personally picked by the first commander, Danny Magen. The force officially gained recognition in March–May 1948 as a result of the Riptin Commission and after the IDF formulated its disciplinary laws, and quickly expanded as the necessities of a military police service were made clear in the IDF. Originally, the traffic supervision units were organized into regions, serving in the most populated cities (Jerusalem, Tel Aviv and Haifa), while the discipline supervision units were subordinate to the various IDF brigades, with each brigade having its own small unit.