Why is the Los Angeles basketball team named the Dodgers?

The NBA team in Los Angeles, CA is called the Los Angeles Lakers. The Major League Baseball team is called the Dodgers.