Dallas Cowboys helmet (Photo by Streeter Lecka/Getty Images

ARLINGTON, Texas (AP) — Tony Romo threw two touchdown passes to Terrance Williams, the second for the lead late in the fourth quarter, and the Dallas Cowboys rallied for a 24-20 wild-card win over Detroit on Sunday in their first playoff game in five years.

The Cowboys (12-5) wiped out an early two-touchdown deficit to earn a trip to Green Bay, their first visit there in the postseason since a heartbreaking loss to the Packers in the Ice Bowl in 1967.

The Lions (11-6) went 99 yards for one of two first-quarter touchdowns, but Matthew Stafford couldn't get them in the end zone again. He fell to 0-2 in the playoffs three years after losing a wild-card game to New Orleans.

The winning drive came after officials reversed a pass interference penalty against Dallas, resulting in a Detroit punt.

AP NFL website: and

Copyright 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.