A man accused of an Atlanta carjacking earlier this month was arrested Monday, authorities said.

Nyquarious Edwards, 18, allegedly took a car at gunpoint from a Midtown home, authorities said.

Just after 8 p.m. on Oct. 7, Atlanta Police said Edwards approached a man outside his home in the 300 block of 9th Street and demanded the keys to the man's 2011 Mercedes Benz. Surveillance footage captured the robbery, authorities said.

The man went into the house to retrieve the keys, then ran and locked himself inside a downstairs bedroom, yelling to another man in the home to call police, authorities said.

Edwards found the second man and aimed at him, forcing the man to hand over the car keys.

Then Edwards fled in the car, police said.

On Monday, Atlanta police and officials with the U.S. Marshals Service Counter Gang Unit were able to track Edwards to a home in Stone Mountain, authorities said.

Edwards is now in Atlanta police custody. He will be booked into the Fulton County jail on charges that include armed robbery, aggravated assault, kidnapping and theft by taking, Atlanta police spokesman Officer John Chafee said.