ALBUQUERQUE, N.M. (AP) – The federal government recommends Native American children’s courts dole out treatment, counseling and foster care instead of fines and detention, a change in tribal guidelines that reflects a national shift in juvenile justice reform.

The Interior, Justice and Health and Human Services departments released their guidelines Monday, updating a three-decade-old juvenile justice code and suggesting detention should be a last resort for tribal youth, especially runaways and those who struggle with addiction or truancy.

Young Native Americans made up as much as 8 percent of detainees in Indian Country jails in 2014, and roughly half the small number of juveniles in federal custody between 1999 and 2008, the most recent available statistics show.

Nationwide, more states are looking for alternatives to detention for all youth. The revisions come six years after other guidelines for Indian Country called on federal courts and law enforcement to make incarceration a last resort in adult cases.

When Native American youth violate laws on reservations, tribal courts typically handle misdemeanor cases while federal courts deal with more serious felony charges.

“We’ve been looking at how our systems can better serve tribal youth,” said Larry Roberts, the Interior Department’s acting assistant secretary for Indian Affairs. “We really are trying to make sure our youth – for whatever reason if they come into contact with juvenile courts – are given the opportunity to both heal and be productive members of society.”

Several organizations, including the National Congress of American Indians, helped the government revise the guidelines to update the tribal juvenile code that the National Indian Justice Center initially helped develop in the 1980s. Calls to both groups requesting comment were not immediately returned Monday.

The Interior Department is required by law to provide a suggested framework for tribes for handling juvenile cases.

The research by those involved found tribal juvenile criminal codes were nearly indistinguishable from those for adults. The finding suggests a breakdown in a system that the Justice Department said in 2013 posed significant obstacles for tribal youth.

The recommended changes in the guidelines also call for ensuring youth have legal representation in juvenile proceedings, something not all tribal court systems guarantee.

Tribes have final say over whether they will adopt the recommendations, and it is not clear how many will. The Bureau of Indian Affairs is planning listening and consultation sessions with tribes over the coming weeks, Roberts said.

“Tribes can take pieces of the code and mold it to the needs of their cultures and their communities,” he said.

As many as 190 juveniles were jailed in Indian Country in 2014, according to the most recent data available from the Justice Department’s Bureau of Justice Statistics.

About 43 to 60 percent of juveniles in federal custody between 1999 and 2008 were Native American, according to a one-time report by the department’s Indian Law and Order Commission.

At the end of 2015, a total of 26 juveniles were being held in federal facilities, but the agency did not release a racial breakdown.