D.C. United (5-2-2) ended an 11-game winless stretch at Columbus, getting its first victory since August 18, 2007. Columbus (4-4-1) has lost three straight.
Rooney sent a free kick from just outside the box through a gap in the wall for his fifth goal of the season. It was his fourth set-piece goal in his brief MLS career.
Hamid made a kick-save of Justin Meram's close-range shot from a difficult angle in the 54th minute, and Columbus veteran Federico Higuaín had a free-kick attempt sail over the crossbar in the 56th.
D.C. United had its third road victory of the season, after just one last year, to stay in first place in the Eastern Conference.
Copyright 2019 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.