The San Diego Chargers are moving to Los Angeles, where they will join the recently relocated Rams in giving the nation's second-largest media market two NFL teams for the first time in decades.

Team chairman Dean Spanos made the announcement that the Chargers will relocate to LA for the 2017 season in a letter posted Thursday on the Chargers' Twitter account, which was rebranded as the Los Angeles Chargers.

SAN DIEGO PADRES 'DEEPLY DISAPPOINTED'

f81128f0-chargers

Kansas City Chiefs defensive back Daniel Sorensen, right, intercepts a pass intended for San Diego Chargers wide receiver Isaiah Burse during a football game. (AP)

"San Diego has been our home for 56 years. It will always be part of our identity, and my family and I have nothing but gratitude and appreciation for the support and passion our fans have shared with us over the years. But today, we turn the page and begin an exciting new era as the Los Angeles Chargers," Spanos said in the letter.

The Chargers' decision to move comes less than three months after San Diego voters resoundingly rejected a team-sponsored measure asking for $1.15 billion in increased hotel occupancy taxes to help fund a $1.8 billion downtown stadium and convention center.

CHARGERS PLAYERS REACT TO NEWS OF THE MOVE WITH EMOJIS

They're leaving behind a loyal fan base that cheered for Dan Fouts, Charlie Joiner and Kellen Winslow during the Air Coryell years in the 1970s and early 1980s, and for Junior Seau, Stan Humphries and Natrone Means on the Chargers' only Super Bowl team in 1994.

"For more than a decade, the San Diego Chargers have worked diligently toward finding a local stadium solution, which all sides agreed was required," NFL Commissioner Roger Goodell said in a statement Thursday, pointing out that the Chargers delayed exercising the option to move to LA that was granted a year ago. "The Chargers worked tirelessly this past year with local officials and community leaders on a ballot initiative that fell short on election day.  That work - and the years of effort that preceded it - reflects our strongly held belief we always should do everything we can to keep a franchise in its community. That's why we have a deliberate and thoughtful process for making these decisions.

"Relocation is painful for teams and communities.  It is especially painful for fans, and the fans in San Diego have given the Chargers strong and loyal support for more than 50 years, which makes it even more disappointing that we could not solve the stadium issue.  As difficult as the news is for Charger fans, I know Dean Spanos and his family did everything they could to try to find a viable solution in San Diego."

San Diego would become a tenant in the stadium being built in Inglewood for the Rams. Before then, the Chargers will make their temporary home at the 27,000-seat StubHub! Center in Carson.

"The experience for our fans at StubHub Center will be fun and entertaining, and every seat will feel close to the action," said A.G. Spanos, president of business operations for the Chargers. "This is a unique opportunity to see NFL action in such an intimate setting."

Relations have been strained for years between the Chargers, who've sought a big public subsidy to replace aging Qualcomm Stadium, and City Hall, which has been beset by scandals and various economic crises.

Mayor Kevin Faulconer formed a task force in 2015 to try to find a stadium solution, but the Chargers didn't like its recommendation and walked away from negotiations with the city and county. Faulconer recently met with Spanos, and helped cobble together a $375 million package from the city, county and San Diego State, which also plays football at Qualcomm Stadium.

San Diego was given the option to move to LA after NFL owners rejected a proposed shared stadium for the Chargers and the Oakland Raiders in Carson, and accepted the Rams' plans for Inglewood. The owners gave the Chargers and Raiders each an additional $100 million to try to make stadium deals in their home markets.

The NFL's stadium and finance committees met Wednesday for about 3 1/2 hours to discuss relocation of the Chargers and Raiders. The fact-finding meetings mostly centered on the Raiders' plan for a potential move to Las Vegas. No filings for relocation were made; Oakland has until Feb. 15.