Question: why was the ucmj created?
Answer: It was established by the United States Congress in accordance with the authority given by the United States Constitution in Article I, Section 8, which provides that "The Congress shall have Power.... To make Rules for the Government and Regulation of the land and naval forces".