You may be thinking of the "Lone Star" rather than "long star." The Lone Star State is another name for Texas, a nickname it adopted in the mid-1830s after breaking away from Mexico.
During the period between its separation from Mexico and its admission as a state, the region was known as the Lone Star Republic—an independent nation before joining the United States.