A bipartisan group of senators introduced legislation Thursday that aims to strengthen accountability at the National Security Agency by allowing the president to appoint the inspector general (IG).

Sens. Claire McCaskill (D-Mo.), Susan CollinsSusan Margaret CollinsDem rep to launch discharge petition to force net neutrality vote in House Hillicon Valley: Senate votes to save net neutrality | Senate panel breaks with House, says Russia favored Trump in 2016 | Latest from Cambridge Analytica whistleblower | Lawmakers push back on helping Chinese tech giant Overnight Health Care — Sponsored by PCMA — ObamaCare premium wars are back MORE (R-Maine), Jon TesterJonathan (Jon) TesterOvernight Defense: Over 500 amendments proposed for defense bill | Measures address transgender troops, Yemen war | Trump taps acting VA chief as permanent secretary Not only do we need to support veterans, but their caregivers, too Trump Jr. prepares to hit the campaign trail ahead of midterms MORE (D-Mont.), Barbara Mikulski (D-Md.) and Dan CoatsDaniel (Dan) Ray CoatsHillicon Valley: White House eliminates top cyber post | Trump order looks to bolster agency CIOs | Facebook sees spike in violent content | Senators push NIH on tech addiction | House to get election security briefing Trump picks billionaire military contractor to lead intelligence board Top Dem questions CIA campaign to secure Haspel nomination MORE (R-Ind.) introduced S. 2439, the NSA Internal Watchdog Act.

“We must strike the right balance between protecting our national security and protecting our civil liberties,” Tester said. “This bill will ensure those protections while increasing accountability and transparency at the NSA.”

Currently the NSA director hires the IG, but under their bill, it would be a presidentially appointed position that requires Senate confirmation.

“I don’t know how you can be an independent watchdog if you owe your job to the head of the agency,” McCaskill said. “This bipartisan legislation would inject real independent oversight into the agency and help strengthen accountability over its activities.”

The bill also require the IG to conduct annual reviews of whistleblower protections for agency employees, gives the IG subpoena power over employees who have left the agency, and mandates that any IG audit or investigation include an assessment of a program’s effect on civil liberties.

Lawmakers have grown concerned that NSA programs violate constitutional rights to privacy after information was leaked about domestic surveillance.