The Legislature narrowly approved a bill Wednesday that would make Nebraska the second state in the nation to distribute presidential electoral votes by congressional district.

Lawmakers voted 25-23 in favor of the measure, which would give Nebraska a system similar to the one used by Maine for the past 27 years.Currently, all five of Nebraska's electoral votes go to the presidential candidate who garners 50 percent or more of the popular vote.

If signed by Gov. Ben Nelson, the new law would require that two at-large electors be chosen from the party whose presidential nominee received the highest number of votes statewide.

The other three electors, chosen from the state's congressional districts, would represent the party whose presidential nominee received the highest number of votes in each respective district.