The first person charged under Hong Kong's national security law was sentenced Thursday to six and a half years for secession and eight years for terrorism, with two and a half years of the latter sentence to be served consecutively.

Former server Tong Ying-kit, 24, was found guilty Tuesday of terrorism and inciting secession in a landmark case that carries long-term implications for how the legislation will reshape the city's common law traditions.

Meanwhile n Friday, police revealed they had arrested an 18-year-old for posting calls to boycott advertisers on a pro-Beijing TV station, and had launched an investigation into people who booed the China national anthem during a public Olympics broadcast. Tong was accused of driving his motorcycle into three riot police officers while carrying a flag with the protest slogan "Liberate Hong Kong, revolution of our times," which prosecutors said was secessionist.

The widely anticipated ruling, much of which has hinged on the interpretation of the slogan, imposes new limits on free speech in the former British colony, activists say. Human rights groups have also criticized the decision to deny Tong bail and a jury trial, which have been key features of Hong Kong's rule of law.

The government did not immediately respond to a request for comment on the accusations.

Tong's trial was presided over by judges Esther Toh, Anthea Pang and Wilson Chan, picked by city leader Carrie Lam to hear national security cases.

Toh read out a summary of the ruling in court, saying "such display of the words was capable of inciting others to commit secession."

She added that Tong was aware of the slogan's secessionist meaning, and that he intended to communicate this meaning to others. His actions caused "grave harm to society".

In a detailed judgment published on the judiciary's website, the judges also said Tong's motorcycle was potentially a lethal weapon.

"The defendant's failure to stop at all the police checklines, eventually crashing into the police, was a deliberate challenge mounted against the police, a symbol of Hong Kong's law and order," the judges said.

An alternative charge of dangerous driving causing grievous bodily harm was not considered. The High Court will hear mitigation arguments Thursday and sentencing will be announced at a later date.

Tong had pleaded not guilty to all charges, which stemmed from events July 1, 2020, shortly after the law was enacted.

Tong's lawyer Clive Grossman told Reuters outside the court no decision had been made on an appeal. He declined further comment.

Nathan Law, an activist who has been given asylum in Britain after leaving Hong Kong, said in a message on Twitter: "The judicial system in Hong Kong is weaponized to suppress."

Amnesty International's Asia-Pacific Regional Director Yamini Mishra said in a statement the conviction was an "ominous moment for human rights" in the global financial hub.

"To convict Tong Ying-kit of 'secession' for displaying a flag bearing a widely used political slogan is a violation of international law, under which expression must not be criminalized unless it poses a concrete threat."

Tong's trial focused mostly on the meaning of the slogan, which was ubiquitous during Hong Kong's mass 2019 protests.

It was chanted on the streets, posted online, scrawled on walls and printed on everything from pamphlets, books, stickers and T-shirts to coffee mugs.

The arguments during the trial drew on a range of topics, including ancient Chinese history, the U.S. civil rights movement and Malcolm X, to determine whether the slogan was secessionist.

Two expert witnesses called by the defense to analyze the slogan's meaning, drawing upon sources including an examination of some 25 million online posts, found "no substantial link" between the slogan and Hong Kong independence.

The judges rejected the defense argument.

"Even if we were wrong in finding that the defendant understood the slogan to mean Hong Kong independence and adopted that meaning when displaying the flag...we are of the view that the slogan still advocated a political agenda," they said in the judgment.

The governments in Beijing and Hong Kong have said repeatedly the security law was necessary to bring stability after prolonged unrest and that the rights and freedoms promised to the city upon its return to Chinese rule in 1997 remain intact.

The law, imposed by Beijing in June 2020, punishes what China sees as subversion, secession, terrorism and collusion with foreign forces.

The government has said that all prosecutions have been handled independently and according to law, and that legal enforcement action has nothing to do with the political stance, background or profession of those arrested.