 In 1902, the city government passed Mobile's first racial segregation ordinance, segregating the city streetcars.It legislated what had been informal practice, enforced by convention.Mobile's African-American population responded to this with a two-month boycott, but the law was not repealed.