Barrios was in charge of the trial of Efraín Ríos Montt, who ruled Guatemala with total authority. This trial was the first time a national court tried a former leader of a country for genocide. That trial decided that Montt was responsible for committing the crime of genocide against Ixil Mayans. The trial finished in 2013.