The Cosmos and San Francisco Deltas will square off for the NASL title Sunday. (Photo courtesy of the NASL)

NEW YORK – The Championship Final is headed to the Bay Area.

The Cosmos will take on the San Francisco Deltas for the North American Soccer League crown Sunday.

In the second game of a semifinal doubleheader the second-seeded San Francisco Deltas defeated North Carolina FC to clinch hosting rights for the title match.

Top-seeded Miami FC, which won the spring and fall season titles this year, fell on penalty kicks to the league’s two-time defending champions, the Cosmos, at Riccardo Silva Stadium Sunday night. The loss opened the door for the Deltas to bring the final to Kezar Stadium.

The Deltas will play host to the Cosmos at 8 p.m. ET (5 p.m. local time) Sunday, Nov. 12. The game will air live on beIN SPORTS USA, beIN SPORTS en Espanol, and beIN SPORTS CONNECT.

Sunday’s semifinal doubleheader started at Riccardo Silva Stadium, where Miami clashed with New York. The action couldn’t have been any tighter, as the two sides needed penalty kicks to decide the game. New York and Miami played 30 minutes of extra time prior to the shootout.

Eugene Starikov’s successful PK in the sixth round of the shootout sent the Cosmos to their third consecutive NASL title game. The former U.S. youth international nearly scored in the run of play in the first period of extra time as his shot rattled off the post.

In San Francisco, the Deltas were rock solid throughout the game and recorded a 1-0 win. Tyler Gibson provided the Deltas with the lone goal, smashing a shot from outside the box past a goalkeeper Macklin Robinson in the 41st minute.

The Championship Final will feature the same coaching matchup as the title game from 2015. New York coach Giovanni Savarese will square off against San Francisco coach Marc Dos Santos, who faced the Cosmos in The Championship Final in 2015 when he directed Ottawa Fury FC.