By the time of the American revolution,slavery was________

A.legal in all colonies
B.legal in most colonies
C.only legal in the south
D.very rare in most colonies