The Wizards, who had lost 11 of 13, won despite blowing a 21-point second-half lead.
With the Wizards up by one,
Greg Monroe had 21 points and 10 rebounds, and Spencer Dinwiddie added 20 off the bench for Detroit, which has lost three straight.
The Wizards led by 16 at intermission, and
Detroit chipped away, however, and trailed, 80-70, to start the fourth. A 9-0 run got the Pistons within one, and when Dinwiddie rebounded his own miss and dunked, the Pistons led 85-84 with 6:46 left.
The Wizards regained the lead for good, 90-89, on two free throws by Gortat.
Brooklyn 104, at Dallas 94:
Memphis 101, at Minnesota 97:
at New York 103, Toronto 98:
Atlanta 93, at Miami 91:
at Utah 82, Milwaukee 75: