The design for Tor came from the US government and two of its lead developers worked for US military intelligence agencies in the past (and one still does). I think over half of Tor's funding is from the US government still.