Tor itself was invented by the US Naval Research Lab and still today is funded >50% by the US Department of Defense.