FBI Director Robert Mueller testifies before the House Judiciary Committee yesterday, saying that the programmes were legal. Photo Reuters