WASHINGTON (AP) — The House will vote by year's end on legislation that would shield reporters from being forced to reveal their sources in some cases in federal court, Speaker Nancy Pelosi said Thursday.

A similar bill is headed to the full Senate after winning approval from a committee.

"This is fundamental to our democracy and fundamental to the security of our country," Pelosi, D-Calif., told The Associated Press Managing Editors. "We will bring something to the floor this year, before the end of this session."