单项选择题

By 1642, all towns in the colony of Massachusetts () by law to have schools.

A. were required
B. required
C. was required
D. had required