– Dez Bryant's tantrum on the Dallas Cowboys' sideline was not a good look. Neither was Darren McFadden's two-fumble performance nor Matt Cassel's passes, which often sailed nowhere near his receivers.

All in all, it was an ugly game, devoid of any style points or many scoreboard points until the final 1½ minutes. Perhaps fittingly, a fumbled punt return by Washington's DeSean Jackson deep in his own territory led to Dallas' only touchdown.

And yet, none of that mattered to Dallas because by beating Washington 19-16 on Dan Bailey's 54-yard field goal with nine seconds left Monday night, the Cowboys somehow kept themselves in the thick of the division title chase in the woeful NFC East.

"We have everything to gain and everything to lose," Bryant said. "We are still in this thing."

The last-place Cowboys (4-8) won for the first time this season without quarterback Tony Romo and are only one game behind the Redskins, Giants and Eagles, all 5-7.

"Our guys don't blink," Dallas coach Jason Garrett said. "We've given ourselves an opportunity to stay in it."

After combining to score 18 points in the first 58½ minutes, the teams combined for 17 the rest of the way. Dallas scored the game's first TD with 74 seconds left to lead 16-9 after Jackson's miscue, Washington tied it on Jackson's 28-yard TD catch, and then Bailey hit the go-ahead kick.

"A roller coaster," Redskins quarterback Kirk Cousins called it.

"We just had some unforced errors," said Jay Gruden, his coach.