Uniform Code of Military Justice is a set of laws that establishes a military justice system in the United States. The laws apply to all members of the U.S. armed forces. The code prohibits certain conduct as criminal and provides for a system of courts and judges to try military members accused of violating the laws. It also outlines the procedures to be followed in these cases.