Baltimore County Executive John A. Olszewski Jr. (D) said retaining teachers was an impetus for the agreement now.