Texas was admitted as the twenty-eighth state of the United States.