Earlier quoted context omitted.
Well, TOR was originally developed by the US Naval Research Lab for the purpose of securing government comms. Source: https://www.torproject.org/about/overview
I was of a slightly different impression, but have no idea what is the "truth". "Tor was not started by the US Navy. The US Naval Research Labs (NRL) started a project in the 1990s called onion routing7. Tor uses the basic onion routing principles and applies them to the Internet. The volunteer Tor group started in 2001. The formal charity, The Tor Project, started in 2006. We continue to work with Dr. Paul Syverson…
If you ignore some of the drama, Pando has a very long and fairly comprehensive look at its funding (at least, it seemed comprehensive to me, I am not a Tor expert) - http://pando.com/2014/07/16/tor-spooks/