Mauricio Funes was the President of El Salvador from 2009 to 2014.
Footage released by the attorney general's office shows large groups of men in prison attending the trial via video link.