RALEIGH, N.C. AP – North Carolina can’t legally ban video poker machines while also allowing the Eastern Band of Cherokee Indians to operate the games on their lands within the state, a state court judge ruled.

The ruling late Thursday issued by Wake County Superior Court Judge Howard Manning overturns the 2006 law that ended the state’s 13-year experiment with video poker machines, a popular attraction when legal in bars and convenience stores.