Poor San Jose—so far from God, so close to San Francisco.

San Jose is the 10th largest city in the United States, the third most populous in the state of California—and No. 1 in disrespect. With more than 1 million people, it’s Northern California’s biggest municipality—but it’s constantly outshined by those 860,000 San Franciscans to its north.

The famous City by the Bay is our state’s spoiled little brother. Not only does San Francisco attract most of the cool kids and the international publicity, but it also throws punches at its big brother city, 50 miles south, whenever it can.

This is an old fact of life in California. The original state constitution of 1849 made San Jose the state’s capital, but it took just 18 months for the legislature—dominated by San Franciscans who complained that San Jose’s hotels and booze weren’t up to standards—to move the capital to Vallejo.

And the hits keep coming.

For years, San Jose planned to build a baseball stadium next to the central transit depot Diridon Station for the Oakland A’s, who were eager to move to San Jose, which has more than twice the population of their hometown. But the San Francisco Giants convinced the Major League Baseball commissioner that they owned the San Jose market. Last fall, San Jose, after losing its legal challenge to this San Francisco baseball colonization, abandoned the stadium idea, and the A’s renewed their lease in Oakland.

San Francisco can’t even let San Jose victories go. Last month, when the California High-Speed Rail Authority announced a new plan to start construction of its bullet train with a Central-Valley-to-San Jose leg, San Francisco immediately objected. San Francisco transportation officials, in comments on the plan, said that the first phase should come all the way north to San Francisco’s new Transbay Transit Center instead of stopping at Diridon. For now, the plan remains at San Jose, but it’s possible that the first phase could go to San Francisco—along with $2 billion in additional money.

But the most grievous injury is how San Francisco has stolen the technological zeitgeist from its southern neighbor. San Jose might call itself the “Capital of Silicon Valley,” but San Francisco is now home to hotter tech properties—Uber, Airbnb, Twitter. And many firms still headquartered in San Jose and other peninsula cities like Palo Alto are opening up San Francisco offices. The venture capital picture is even more skewed in favor of San Francisco. In 2014, $11 billion in venture investments went to San Francisco firms, while just $1.1 billion went to San Jose companies.

San Francisco, never shy about playing dirty, has handed generous public subsidies to some companies. But San Jose’s struggles are also of its own making. The young engineers and programmers who drive the Bay Area economy prefer urban living, but San Jose remains suburban and residential.

As a result, San Jose doesn’t have enough businesses producing economic activity and taxes, leaving the city with budget problems and a famously understaffed police force. Last year, the Mercury News found that San Jose had the lowest ratio of jobs to residents of any big American city. San Jose boasts just 87 jobs for every 100 employed residents, compared to 110 jobs per 100 employed residents in Los Angeles, and 138 jobs per 100 employed residents in San Francisco. The city is trying to turn more residential land into commercial development—but such a transformation could take decades.

To be fair, San Jose is hardly the only place in California to have been disrupted by San Francisco imperialism. Hollywood has lost power and dollars as Bay Area Internet firms consume time once devoted to TV and movies. Taxi companies and hoteliers across the state are struggling under the force of San Francisco “sharing economy” companies. San Francisco’s obscene wealth has spilled over the city’s borders, raising housing prices to unaffordable levels and displacing longtime residents across Northern California.

And, since power follows money, San Francisco has all but taken over state politics. San Francisco’s Kamala Harris is the favorite to go to Washington and join former San Francisco mayor Dianne Feinstein in representing California in the U.S. Senate. Another former San Francisco mayor, Gavin Newsom, is off to the fastest start in the contest to succeed that son of San Francisco, Jerry Brown, as our governor.

San Jose’s predicament is thus a warning sign and a call to action. Unless California wants to watch San Francisco siphon off even more money and power from the rest of the state, San Jose must be built up as a bulwark against San Francisco.

As a start, California should nudge foreign and out-of-state firms seeking Bay Area locations in the direction of San Jose. In the near term, the state must do everything it can to make sure Diridon Station becomes a signature California hub, with high-speed rail, every conceivable transportation connection, and attractions nearby to draw people. More long-term, the state should build a much-needed University of California campus in San Jose, the only one of the state’s top four cities without one.

To keep San Francisco at bay, we’ll need to find a way to San Jose.

Joe Mathews writes the Connecting California column for Zócalo Public Square.