When the war began, Congress lacked a professional army or navy, and each colony only maintained local militias. Militiamen were lightly armed, had little training, and usually did not have uniforms. Their units served for only a few weeks or months at a time and lacked the training and discipline of more experienced soldiers. Local county militias were reluctant to travel far from home and they were unavailable for extended operations. To compensate for this, Congress established a regular force known as the Continental Army on June 14, 1775, the origin of the modern United States Army, and appointed Washington as commander-in-chief. However, it suffered significantly from the lack of an effective training program and from largely inexperienced officers and sergeants, offset by a few senior officers.