Once a long-time critic of FBI surveillance, Patel is now singing a different tune.
Civil liberties groups hailed the ruling as a victory.