A man who led authorities on a pursuit from San Diego County to Los Angeles was taken into custody after a standoff near LAX Thursday during which he appeared to threaten to jump from an overpass.

The pursuit began in San Diego around 11:40 a.m. when authorities tried to stop the vehicle for reckless driving, KTLA sister station KSWB reported.

Around 1:10 p.m., the driver got out of his vehicle and climbed onto a guardrail on Sepulveda and Century boulevards.

The man straddled the rail, threatening to jump from the overpass as law enforcement officers negotiated with him, aerial video from Sky5 showed.

Los Angeles firefighters responded to the scene and inflated a portable air cushion below the overpass.

Negotiations continued until authorities were finally able to take the man into custody around 2:40 p.m.