sentences:  While cable cars no longer operate on Market Street, the surviving cable car lines terminate directly adjacent to the street at its intersections with California Street and Powell Street.In 1839, the first street grid was laid in the Mexican trading post of Yerba Buena by Jean Jacques Vioget, largely aligned with the cardinal directions, with blocks measuring .Yerba Buena was renamed to San Francisco in 1847 after it was captured by United States troops during the Mexican–American War.