WASHINGTON (AP) – The Senate endorsed a chance at citizenship for millions of illegal immigrants Wednesday but also voted to build 370 miles of triple-layered fencing along the Mexican border in increasingly emotional debate over election-year immigration legislation. Taken together, the votes gave fresh momentum to legislation that closely follows President Bush’s call for a major overhaul of the nation’s troubled immigration system. The vote was 66-33 against a proposal that would have removed provisions giving an eventual chance at citizenship to illegal immigrants who have been in the country more than two years. A few minutes earlier, the Senate had voted 83-16 in favor of construction of the fence and 500 miles of vehicle barriers, the first significant victory in two days for conservatives seeking to place their stamp on the measure.