Even in a loss, the Houston Astros sewed up the final spot in the 2015 Major League Baseball postseason, and now the table is set for what could be a wild run to the World Series.

Houston fell 5-3 to Arizona, but because the Los Angeles Angels also lost to the Texas Rangers, the Astros will make their first postseason appearance in 10 years against the New York Yankees in the American League’s one-game Wild Card playoff Tuesday night.

The winner will then face the defending league champion Kansas City Royals, who owned the AL’s best record of 95-67, in the AL Division Series starting Thursday. The Rangers and Blue Jays will start their division series on Thursday as well.

Over in the National League, the Chicago Cubs mark their return to the postseason against a red-hot Pittsburgh Pirates squad in the NL Wild Card on Wednesday, and the victor moves on to face the rival St. Louis Cardinals in the NL Division Series beginning Friday.

Meanwhile, the Los Angeles Dodgers and New York Mets will duel in the other NL Division Series also starting Friday.

Presently, only the start times and television channels for the AL and NL Wild Card, and the NL Division series are known.

Here’s the full schedule for the NL and AL Wild Card and Division Series rounds for the next 10 days. (*) denotes if necessary.

American League

Tuesday, Oct. 6

Houston Astros at New York Yankees, Wild Card, 8 p.m. ET (ESPN)

Thursday, Oct. 8

Texas Rangers at Toronto Blue Jays, Game 1 AL Division Series (FOX, FS1, or MLB Network)

Yankees/Astros at Kansas City Royals, Game 1 AL Division Series (FOX, FS1, or MLB Network)

Friday, Oct. 9

Yankees/Astros at Kansas City Royals, Game 2 AL Division Series

Texas Rangers at Toronto Blue Jays, Game 2 AL Division Series

Sunday, Oct. 11

Kansas City Royals at Yankees/Astros, Game 3 AL Division Series

Toronto Blue Jays at Texas Rangers, Game 3 AL Division Series

Monday, Oct. 12

Kansas City Royals at Yankees/Astros, Game 4 AL Division Series *

Toronto Blue Jays at Texas Rangers, Game 4 AL Division Series *

Wednesday, Oct. 13

Yankees/Astros at Kansas City Royals, Game 5 AL Division Series *

Texas Rangers at Toronto Blue Jays, Game 5 AL Division Series *

National League

Wednesday, Oct. 7

Chicago Cubs at Pittsburgh Pirates, NL Wild Card, 8 p.m. ET (TBS)

Friday, Oct. 9

Cubs/Pirates at St. Louis Cardinals, Game 1 NL Division Series (TBS)

New York Mets at Los Angeles Dodgers, Game 1 NL Division Series (TBS)

Saturday, Oct. 11

Cubs/Pirates at St. Louis Cardinals, Game 2 NL Division Series (TBS)

New York Mets at Los Angeles Dodgers, Game 2 NL Division Series (TBS)

Monday, Oct. 12

St. Louis Cardinals at Cubs/Pirates, Game 3 NL Division Series (TBS)

Los Angeles Dodgers at New York Mets, Game 3 NL Division Series (TBS)

Tuesday, Oct. 13

St. Louis Cardinals at Cubs/Pirates, Game 4 NL Division Series (TBS) *

Los Angeles Dodgers at New York Mets, Game 4 NL Division Series (TBS) *

Thursday, Oct. 15

Cubs/Pirates at St. Louis Cardinals, Game 5 NL Division Series (TBS) *

New York Mets at Los Angeles Dodgers, Game 5 NL Division Series (TBS) *