WASHINGTON, DC - NOVEMBER 26: U.S. Attorney General William Barr as U.S. President Donald Trump holds a signing ceremony for an executive order establishing the Task Force on Missing and Murdered American Indians and Alaska Natives, in the Oval Office of the White House on November 26, 2019 in Washington, DC. Attorney General Barr recently announced the initiative on a trip to Montana where he met with Confederated Salish Kootenai Tribe leaders. (Photo by Drew Angerer/Getty Images)

(CNN) — The subpoena that swept up the records of two Democratic congressmen, their staff and family members in 2018 appears to have been the result of a leak investigation that initially included scrutinizing a senior aide on the House Intelligence Committee, and not the lawmakers themselves, sources told CNN.

The Justice Department’s original secret subpoena to Apple, sources say, was an effort to identify people connected with the staffer. Apple provided names connected to the accounts the company had records for, including then-House Intelligence ranking member Adam Schiff and Rep. Eric Swalwell, two vocal political enemies of former President Donald Trump. This was potentially the first instance federal investigators knew they had records of the two California Democrats, according to the sources.