D.C. police on Monday arrested a 29-year-old man in Friday afternoon’s fatal shooting across the street from an elementary school in the Capitol Hill neighborhood, according to authorities.

James Walter Yates III, of Southeast, was charged with second degree murder while armed. Police said he was arrested Monday about noon by the Capital Area Regional Fugitive Task Force.

Police said Yates is charged with killing Andrew Pierce Joyner, 29, of Fort Washington, about 3:30 p.m. on Friday. That shooting occurred in the 600 block of Morris Place NE, near the Ludlow-Taylor Elementary School.

Classes at the school ended about 15 to 20 minutes before the shooting occurred, and neighbors told a Washington Post reporter that children were on the playground. But they were closer to the G Street side of the school grounds and did not see the shooting, according to a parent. Staff members got the students back inside the building and locked it as police investigated.

Authorities did not disclose a motive.

Joyner was shot several times and was pronounced dead at an area hospital.

Martin Weil contributed to this report.