The Secret Service said in a statement that an alert had been issued by the Montgomery County Police Department in Maryland to be on the lookout for Michael Arega.
Officers spotted him on the north side of Pennsylvania Avenue near Lafayette Park.
Arega was detained by Secret Service Uniformed Division officers and arrested without incident. The Secret Service said Arega was not armed at the time of his arrest.
He was taken to the District of Columbia's Metropolitan Police Department, where he was charged with making felony threats.
Copyright 2017 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.