(CNN) Federal agents have discovered a drug smuggling tunnel that stretches about three-quarters of a mile -- the longest ever discovered along the Southwest border.

The 4,309-foot tunnel starts in Tijuana, Mexico, just about 250 feet south of the border. It travels underground into San Diego County, California.

It is equipped with air ventilation, electricity, an extensive rail and cart system, and even an elevator at the each entrance, according to US Customs and Border Protection.

"The sophistication of this tunnel demonstrates the determination and monetary resources of the cartels," Drug Enforcement Administration's Special Agent in Charge John W. Callery said in a statement Wednesday.

"Although the cartels will continue to use their resources to try and breach our border, the DEA and our partners on the Tunnel Task Force will continue to use our resources to ensure they fail, that our border is secure, and that tunnels like this are shut down to stem the flow of deadly drugs entering the United States."

Read More