The authorities on Sunday confirmed the death of the gunman, who had shot himself in front of the White House on Saturday.
A team of secret service officials and other staff members was dispatched to the location of the incident to ensure safety in and around the White House.
The incident allegedly happened along the North Fence line of the White House on Saturday afternoon, the Secret Service said via Twitter.
No one else was injured, although there were reports that people at the White House sheltered in place.
Witnesses told The Washington Post that a crowd of more than 100 was in the area at the time and that people fled after the shots were fired.
Militants Preventing Civilians from Leaving E.Ghouta, Residents Asking for Evacuation Help
The opposition's Syrian Civil Defense, also known as the White Helmets, said a total of 12 people were killed on Thursday. This was despite a promise to halt the attacks on the eastern Ghouta region for 5 hours a day, starting on Tuesday.
The man's name has not been released.
There has been a number of security incidents at the White House in recent years.
Donald Trump was not at the White House when the shooting occurred shortly before 5pm United Kingdom time (12pm U.S. time), as he is at the Mar-a-Lago resort in Florida, but he was swiftly briefed about it shortly afterwards, the White House said.
Mr Trump is with First Lady Melania Trump in Florida.
The President is due to return to Washington DC today. On Feb. 23, a woman was arrested after crashing her vehicle into a security barrier near the presidential residence.