A routine vote to reauthorize the Texas Lottery Commission took a dramatic turn Tuesday, casting doubt on the entire statewide lottery before being reconsidered.

Debate on the reauthorization measure started Tuesday afternoon, with questions about where unclaimed winnings go. It eventually became a referendum on the lottery system itself. Several lawmakers spoke against the lottery, calling it a de-facto tax on poor people.

House lawmakers then voted 82-64 to defeat the bill, then broke for lunch.

Less than two hours later, the House voted to reconsider the bill. It passed to third reading by a vote of 91-53.

The state lottery provides more than $2 billion in funding for public education. A final vote is expected to take place Wednesday.

The Associated Press contributed to this report.