A Mexican citizen wanted for a slaying in Arizona was arrested at San Francisco International Airport while trying to fly out of the United States, authorities said Monday.

Margarito Gerardo Pimentel was taken into custody at about 11 p.m. Friday as he attempted to board a flight to Mexico City, according to Brian Humphrey, the chief of Customs and Border Protection San Francisco.

Customs agents identified Pimental as being wanted for a killing in Pima County, Arizona, and he was arrested on the jetway, just as he was about to get on the plane. Police didn't release any details about the slaying.

A man with the same name as Pimentel was wanted by police in Tucson, which is located in Pima County, for allegedly stabbing his wife to death in 2004. A Tuscon police spokesman didn't immediately respond to a call seeking confirmation.

Contact Joshua Melvin at 650-348-4335. Follow him at Twitter.com/melvinreport.