There was a time when President Donald Trump seemed to like government leaks.
The tide has certainly turned. President Trump now fumes about the frequent and "un-American" leaks pouring out of his administration —most notably those that helped lead to the abrupt exit of former national security adviser Michael Flynn.
But while government leaks have plagued Trump's administration early on, they've long been a fixture in American politics and, in some cases, have been the impetus of positive change, history and legal experts say.
"We have a very long history of leaks in this country, it's almost a long-standing tradition," said Mary-Rose Papandrea, a professor at the University of North Carolina School of Law.
And, while there are a number of statutes, from the Espionage Act to the Intelligence Identities Protection Act, that criminalize leaks, "there is still not a catch-all one size fits all law that makes leaking illegal," said Heidi Kitrosser, a professor at the University of Minnesota Law School.
Here's a short history of some of the nation's most notable leaks:
The Hutchinson Letters
Founding father Benjamin Franklin found himself embroiled in a leak when he passed letters to revolutionaries written by Governor of Massachusetts Thomas Hutchinson, asking for stronger British presence in Boston. The letters were published by the Boston Gazette in 1773 erupting one of the biggest scandals of the time.
Leaked Treaty of Guadalupe Hidalgo
In 1848, journalist John Nugent published an unsigned copy of the Treaty of Guadalupe Hidalgo,which would put an end to the Mexican-American War. An infuriated Congress held Nugent in the Capital Building for an entire month in an effort to attain the identity of the leaker, which Nugent never gave up.
New York Times journalist Daniel Ellsberg was handed a hefty leak in the form of the "Pentagon Papers," which revealed unsavory details about the Department of Defense and the Vietnam War in 1971.
"The Pentagon Papers had a big impact on the Vietnam War because it exposed what the government was doing as opposed to what the government said it was doing," said Mary-Rose Papandrea, a professor at University of North Carolina School of Law.
Embarrassed and exposed, the government sued the press over the leaks, with the lawsuit going all the way to the Supreme Court, which sided with the first amendment noting that a "free and unrestrained press" would "prevent any part of the government from deceiving the people."
In the Watergate scandal, a source known as "deep throat," (later revealed to be FBI Associate Director Mark Felt) leaked information to two Washington Post journalists, Carl Bernstein and Bob Woodward, about illegal activities allegedly conducted under President Nixon.
The revelation not only ended Nixon's presidential career but put into motion a series of ethical checks and balances, said Hana Callaghan, director of the Government Ethics Program at Santa Clara University.
"A lot of the ethics laws that govern the different agencies and branches of the federal government came about as a result of Watergate," she said. "The Office of Government Ethics was created after that," she said.
Post 9/11 Leaks
Following the attacks on September 11, the government instituted a variety of surveillance and interrogation methods that were completely unbeknownst to the public until leaks.
Waterboarding, CIA black sites, and practices at Abu Ghraib prison were all unmasked through a series of leaks, said Rahul Sagar, a politics professor at New York University and author of Secrets and Leaks: The Dilemma of State Secrecy.
"Pubic conversations that caused a reexamination of these controversial methods can be traced back to leaks," he said. "Many of the leaks led to changes in the way the 'war on terror' was conducted by setting some ground rules," he said.
Former National Security Agency contractor Edward Snowden fled to Russia after exposing the government's mass data collection via journalist Glenn Greenwald in 2013.
The data dump sparked outrage among civil rights groups and privacy advocates who were stunned to find out the extent to which the public was surveilled without any legal process.
"Whatever side you fall on, Snowden sparked a public debate on how much information the government can collect," Sagar said.
"The disclosure did serve a public purpose, and many would say it was ethically defensible," said Kathleen Clark, a professor at Washington University School of Law. "You are not supposed to leak information, but that doesn't mean it's criminal," she said.