U.S. Navy sailor tried on terrorist charges