A British judge ruled on Monday that WikiLeaks founder Julian Assange should not be extradited to the U.S. to face criminal charges including breaking a spying law, saying his mental health problems meant he would be at risk of suicide.

The United States said it would continue to seek the extradition of Australian-born Assange and U.S. prosecutors are set to appeal Monday's decision to London's High Court.

The U.S. authorities accuse the 49-year-old of 18 offenses relating to the release by WikiLeaks of vast troves of confidential U.S. military records and diplomatic cables, saying that publishing the material put lives in danger.