WASHINGTON — Luciano Acosta completed a hat trick in the 96th minute to give D.C. United a 3-2 victory over 10-man Orlando City on Sunday night.

Wayne Rooney set up the winner by chasing down and tackling Orlando's Will Johnson, who was crossing midfield and racing toward an empty net after D.C. brought its goalkeeper up for a corner. Rooney then turned the other way and sent a long ball to Acosta, who headed it home to put United (5-9-6) in front.

Dom Dwyer tied it in the 71st minute, getting behind the central defence on Oriol Rosell's through ball and chipping it over the goalkeeper to tie it at 2 for Orlando (7-15-2).

Orlando's Cristian Higuita was sent off for a high arm swing making contact with Yamil Asad in the 55th minute.

Acosta's second made it 2-1 in the 64th minute. He finished Asad's cross from close range and collided with the goalkeeper shortly after the shot. The goal was upheld after video review confirmed that Acosta was onside.

Acosta opened the scoring in the fourth minute of first-half stoppage time with a give-and-go to Rooney and a rocket to finish from a narrow angle.

Rosell sent a cross along the end line that D.C. goalkeeper David Ousted inadvertently deflected into his own goal in the 50th minute, making it 1-all for Orlando.