Bedford County District Attorney resigns from position