The Cowboys beat the Lions 26-24 at AT&T Stadium thanks to a game-winning 38-yard field goal from kicker Brett Maher.
Here's the field goal, and keep watching for Cowboys owner Jerry Jones' hilarious reaction to it.
The Cowboys made the surprising decision to release long-time kicker Dan Bailey before the season started.
Their decision appears to have paid off. Maher hit all four of his field goals against the Lions and has only missed one on the season.