A man accused of shooting a security guard inside the downtown Washington headquarters of a conservative Christian lobbying group pleaded guilty Wednesday in connection with the shooting.