A pro-democracy protester was sentenced Friday to nine years in prison in the closely watched first prosecution under Hong Kong’s national security law as the ruling...