The Texas Senate gave final approval Monday to legislation requiring would-be voters to show photo ID before casting a ballot.
The vote was 19-12, along party lines.
Gov. Rick Perry has declared the voter ID bill an emergency item for the session. It now needs only a final House vote to be sent to his desk. That would give Republicans a major victory in a bitter partisan debate.
Republicans say photo ID is needed to prevent voter fraud. Democrats say it will make it harder for poor and minority Texans to vote and is designed to boost Republican margins in elections.
The Senate and House had already approved similar versions of the bill and spent the last month working out a compromise on minor provisions.
The bill requires voters to present valid state or federal photo IDs. A driver's license, personal ID card, military ID, passport or concealed-handgun permit would be accepted.
The last change approved Monday allows the state to issue free IDs to be used specifically for voting if a person arrives at a polling place without an acceptable form of ID. That person could cast a provisional ballot but would have to show valid ID within six days to have his or her votes counted.