SEATTLE — Eight children asked a Seattle judge Tuesday to find Washington state in contempt for failing to adequately protect them and future generations from the harmful effects of climate change, part of a nationwide effort by young people to try to force action on global warming.

The petitioners, between 12 and 16 years old, asked a state judge to step in and require the state Department of Ecology to come up with science-based numeric emissions reductions.

The state argued that it has complied with the court's prior orders and there's no basis for finding the Department of Ecology in contempt.

After hearing arguments Tuesday afternoon, King County Superior Court Judge Hollis Hill said she needed more time and would rule at a later date.

The case is part of a nationwide effort led by the Oregon-based nonprofit Our Children's Trust to force states and the federal government to take action on climate change.

This month, a federal judge in Eugene, Oregon, allowed a similar climate change case against President Barack Obama's administration to proceed. In that lawsuit, 21 activists ages 9 to 20 argue that the federal government's actions violate their constitutional rights to life, liberty, and property, and the government has violated its obligation to hold certain natural resources in trust for future generations.

Aji Piper, 16, of Seattle is a plaintiff in both the federal and Seattle cases. He said he and others are fighting for their right to live in a world that is healthy, safe and sustainable.

"The most concerning thing to me is that our planet will be destroyed and I would have done nothing about it," he said outside court. "We're bringing this case because we need to have a stronger voice and right now that's through the legal system."

Piper and seven others in Seattle brought their petition in 2014 asking the court to force state officials to adopt new rules to limit carbon emissions based on the best available science.

"Ecology has the legal authority and responsibility to remedy the ongoing legal violations of these young people's fundamental rights," Andrea Rodgers, the children's attorney, told the judge Tuesday.

In November, Hill denied their appeal but affirmed some of the children's arguments, saying the state has an obligation to protect natural resources for future generations. At the time, the judge noted that the Department of Ecology was already working on meeting that obligation by writing new rules for greenhouse gas emissions ordered by the governor.

The plaintiffs again asked the judge to step in after the Department of Ecology in February withdrew its proposed clean air rule to make changes. The department was in the process of writing new rules but Hill in April ordered the agency to proceed with its rulemaking and come up with a rule by the end of 2016.

The Seattle children contend the clean air rule the state adopted in September — which caps emissions from the state's largest carbon polluters — doesn't do enough to protect young people, and that the state is violating prior court orders by not doing more.