The Confederate States of America was a failed attempt to establish a nation within a nation with an executive, legislative and judicial branches. It differed from the United States in that it was born of direct treason and refusal to recognize the authority of the federal government.