The Official Secrets Act of 1904 curbed press freedom.