LONG BEACH, Calif.—Authorities say officers shot and killed a carjacking suspect during a foot chase across the roof of a Long Beach apartment building.

City News Service reports the shooting occurred about 4 a.m. Tuesday, nearly two hours after the suspect ran off during a traffic stop.

Long Beach police say the man was wanted on suspicion of a carjacking in Los Angeles.

Police say the suspect was named in an arrest warrant that described him as an armed and dangerous felon.