Professor who taught history — and lived it — retires