The 338-88 roll call Wednesday by which the House passed a bill to end the National Security Agency's bulk collection of Americans' phone records and replace it with a system to search the data held by telephone companies on a case-by-case basis.

A "yes" vote is a vote to pass the measure.

Voting yes were 142 Democrats and 196 Republicans.

Voting no were 41 Democrats and 47 Republicans.

X denotes those not voting.

There are 2 vacancies in the 435-member House.

ALABAMA

Democrats — Sewell, Y.

Republicans — Aderholt, Y; Brooks, N; Byrne, Y; Palmer, Y; Roby, Y; Rogers, Y.

ALASKA

Republicans — Young, Y.

ARIZONA

Democrats — Gallego, Y; Grijalva, N; Kirkpatrick, Y; Sinema, Y.

Republicans — Franks, Y; Gosar, N; McSally, Y; Salmon, N; Schweikert, N.

ARKANSAS

Republicans — Crawford, Y; Hill, Y; Westerman, Y; Womack, Y.

CALIFORNIA

Democrats — Aguilar, Y; Bass, N; Becerra, Y; Bera, Y; Brownley, Y; Capps, X; Cardenas, Y; Chu, Judy, Y; Costa, Y; Davis, Y; DeSaulnier, Y; Eshoo, Y; Farr, N; Garamendi, Y; Hahn, Y; Honda, N; Huffman, Y; Lee, N; Lieu, Ted, N; Lofgren, Y; Lowenthal, N; Matsui, Y; McNerney, Y; Napolitano, Y; Pelosi, Y; Peters, Y; Roybal-Allard, Y; Ruiz, Y; Sanchez, Linda T., Y; Sanchez, Loretta, Y; Schiff, Y; Sherman, Y; Speier, Y; Swalwell, Y; Takano, N; Thompson, Y; Torres, Y; Vargas, Y; Waters, Maxine, N.

Republicans — Calvert, Y; Cook, Y; Denham, Y; Hunter, Y; Issa, Y; Knight, Y; LaMalfa, Y; McCarthy, Y; McClintock, N; Nunes, Y; Rohrabacher, N; Royce, Y; Valadao, Y; Walters, Mimi, Y.

COLORADO

Democrats — DeGette, N; Perlmutter, Y; Polis, N.

Republicans — Buck, Y; Coffman, Y; Lamborn, Y; Tipton, Y.

CONNECTICUT

Democrats — Courtney, Y; DeLauro, Y; Esty, Y; Himes, Y; Larson, Y.

DELAWARE

Democrats — Carney, Y.

FLORIDA

Democrats — Brown, Y; Castor, Y; Deutch, Y; Frankel, Y; Graham, Y; Grayson, N; Hastings, N; Murphy, Y; Wasserman Schultz, Y; Wilson, Y.

Republicans — Bilirakis, Y; Buchanan, Y; Clawson, N; Crenshaw, Y; Curbelo, Y; DeSantis, Y; Diaz-Balart, Y; Jolly, Y; Mica, Y; Miller, Y; Nugent, N; Posey, N; Rooney, Y; Ros-Lehtinen, Y; Ross, Y; Webster, Y; Yoho, N.

GEORGIA

Democrats — Bishop, Y; Johnson, Y; Lewis, N; Scott, David, Y.

Republicans — Allen, Y; Carter, Y; Collins, Y; Graves, N; Hice, Jody B., N; Loudermilk, Y; Price, Tom, Y; Scott, Austin, Y; Westmoreland, Y; Woodall, N.

HAWAII

Democrats — Gabbard, N; Takai, N.

IDAHO

Republicans — Labrador, N; Simpson, Y.

ILLINOIS

Democrats — Bustos, Y; Davis, Danny, N; Duckworth, Y; Foster, Y; Gutierrez, Y; Kelly, Y; Lipinski, Y; Quigley, Y; Rush, N; Schakowsky, N.

Republicans — Bost, Y; Davis, Rodney, Y; Dold, Y; Hultgren, Y; Kinzinger, Y; Roskam, Y; Shimkus, Y.

INDIANA

Democrats — Carson, Y; Visclosky, Y.

Republicans — Brooks, Y; Bucshon, Y; Messer, Y; Rokita, Y; Stutzman, Y; Walorski, Y; Young, Y.

IOWA

Democrats — Loebsack, Y.

Republicans — Blum, N; King, N; Young, Y.

KANSAS

Republicans — Huelskamp, N; Jenkins, Y; Pompeo, Y; Yoder, N.

KENTUCKY

Democrats — Yarmuth, Y.

Republicans — Barr, Y; Guthrie, Y; Massie, N; Rogers, Y; Whitfield, Y.

LOUISIANA

Democrats — Richmond, Y.

Republicans — Abraham, Y; Boustany, Y; Fleming, N; Graves, N; Scalise, Y.

MAINE

Democrats — Pingree, N.

Republicans — Poliquin, Y.

MARYLAND

Democrats — Cummings, Y; Delaney, Y; Edwards, N; Hoyer, Y; Ruppersberger, Y; Sarbanes, Y; Van Hollen, N.

Republicans — Harris, N.

MASSACHUSETTS

Democrats — Capuano, N; Clark, N; Keating, Y; Kennedy, Y; Lynch, Y; McGovern, N; Moulton, Y; Neal, N; Tsongas, Y.

MICHIGAN

Democrats — Conyers, Y; Dingell, Y; Kildee, Y; Lawrence, Y; Levin, Y.

Republicans — Amash, N; Benishek, Y; Bishop, Y; Huizenga, Y; Miller, Y; Moolenaar, Y; Trott, Y; Upton, Y; Walberg, Y.

MINNESOTA

Democrats — Ellison, N; McCollum, Y; Nolan, Y; Peterson, Y; Walz, Y.

Republicans — Emmer, N; Kline, Y; Paulsen, Y.

MISSISSIPPI

Democrats — Thompson, Y.

Republicans — Harper, Y; Palazzo, Y.

MISSOURI

Democrats — Clay, Y; Cleaver, N.

Republicans — Graves, Y; Hartzler, Y; Long, Y; Luetkemeyer, Y; Smith, Y; Wagner, Y.

MONTANA

Republicans — Zinke, Y.

NEBRASKA

Democrats — Ashford, Y.

Republicans — Fortenberry, Y; Smith, Y.

NEVADA

Democrats — Titus, Y.

Republicans — Amodei, Y; Hardy, Y; Heck, Y.

NEW HAMPSHIRE

Democrats — Kuster, Y.

Republicans — Guinta, N.

NEW JERSEY

Democrats — Norcross, Y; Pallone, N; Pascrell, Y; Payne, Y; Sires, Y; Watson Coleman, N.

Republicans — Frelinghuysen, Y; Garrett, N; Lance, Y; LoBiondo, Y; MacArthur, Y; Smith, Y.

NEW MEXICO

Democrats — Lujan Grisham, Y; Lujan, Ben Ray, Y.

Republicans — Pearce, Y.

NEW YORK

Democrats — Clarke, N; Crowley, N; Engel, Y; Higgins, Y; Israel, Y; Jeffries, Y; Lowey, Y; Maloney, Carolyn, Y; Maloney, Sean, Y; Meeks, Y; Meng, Y; Nadler, Y; Rangel, N; Rice, Y; Serrano, N; Slaughter, Y; Tonko, Y; Velazquez, N.

Republicans — Collins, Y; Donovan, Y; Gibson, N; Hanna, N; Katko, Y; King, Y; Reed, Y; Stefanik, Y; Zeldin, Y.

NORTH CAROLINA

Democrats — Adams, Y; Butterfield, Y; Price, Y.

Republicans — Ellmers, Y; Foxx, Y; Holding, Y; Hudson, Y; Jones, N; McHenry, Y; Meadows, N; Pittenger, Y; Rouzer, Y; Walker, Y.

NORTH DAKOTA

Republicans — Cramer, Y.

OHIO

Democrats — Beatty, Y; Fudge, Y; Kaptur, Y; Ryan, Y.

Republicans — Boehner, X (the speaker by tradition often does not vote); Chabot, Y; Gibbs, Y; Johnson, Y; Jordan, N; Joyce, Y; Latta, Y; Renacci, Y; Stivers, Y; Tiberi, Y; Turner, Y; Wenstrup, Y.

OKLAHOMA

Republicans — Bridenstine, Y; Cole, Y; Lucas, Y; Mullin, Y; Russell, Y.

OREGON

Democrats — Blumenauer, N; Bonamici, Y; DeFazio, N; Schrader, Y.

Republicans — Walden, Y.

PENNSYLVANIA

Democrats — Boyle, Brendan F., X; Brady, X; Cartwright, Y; Doyle, Michael F., Y; Fattah, N.

Republicans — Barletta, X; Costello, Y; Dent, Y; Fitzpatrick, N; Kelly, Y; Marino, Y; Meehan, Y; Murphy, Y; Perry, N; Pitts, Y; Rothfus, Y; Shuster, Y; Thompson, Y.

RHODE ISLAND

Democrats — Cicilline, Y; Langevin, Y.

SOUTH CAROLINA

Democrats — Clyburn, Y.

Republicans — Duncan, N; Gowdy, Y; Mulvaney, N; Rice, Y; Sanford, N; Wilson, Y.

SOUTH DAKOTA

Republicans — Noem, Y.

TENNESSEE

Democrats — Cohen, Y; Cooper, Y.

Republicans — Black, Y; Blackburn, Y; DesJarlais, N; Duncan, N; Fincher, Y; Fleischmann, Y; Roe, N.

TEXAS

Democrats — Castro, X; Cuellar, Y; Doggett, N; Green, Al, N; Green, Gene, Y; Hinojosa, X; Jackson Lee, Y; Johnson, E. B., Y; O'Rourke, Y; Veasey, Y; Vela, Y.

Republicans — Babin, Y; Barton, Y; Brady, Y; Burgess, N; Carter, Y; Conaway, Y; Culberson, Y; Farenthold, Y; Flores, Y; Gohmert, N; Granger, Y; Hensarling, Y; Hurd, Y; Johnson, Sam, Y; Marchant, Y; McCaul, Y; Neugebauer, Y; Olson, Y; Poe, N; Ratcliffe, Y; Sessions, Y; Smith, Y; Thornberry, Y; Weber, N; Williams, Y.

UTAH

Republicans — Bishop, Y; Chaffetz, Y; Love, Y; Stewart, Y.

VERMONT

Democrats — Welch, Y.

VIRGINIA

Democrats — Beyer, Y; Connolly, Y; Scott, Y.

Republicans — Brat, N; Comstock, Y; Forbes, Y; Goodlatte, Y; Griffith, N; Hurt, Y; Rigell, Y; Wittman, Y.

WASHINGTON

Democrats — DelBene, Y; Heck, Y; Kilmer, Y; Larsen, Y; McDermott, Y; Smith, Y.

Republicans — Herrera Beutler, N; McMorris Rodgers, Y; Newhouse, Y; Reichert, Y.

WEST VIRGINIA

Republicans — Jenkins, Y; McKinley, Y; Mooney, Y.

WISCONSIN

Democrats — Kind, Y; Moore, Y; Pocan, N.

Republicans — Duffy, Y; Grothman, Y; Ribble, Y; Ryan, Y; Sensenbrenner, Y.

WYOMING

Republicans — Lummis, N.