Augusta inmate gets 25 years for attacking guard