Llegaron a Madrid. = "They arrived in Madrid." It indicates a stationary point on a quantitative scale, as in telling time (but usually not a spatial location, which is normally expressed by en): Llegaron a las dos. = "They arrived at two o'clock."