The agency was targeted for elimination in the early 1980s under President Reagan , but was granted a reprieve when it was able to trace the gun used by would-be Reagan assassin John Hinckley Jr. in less than 16 minutes , Osteika said .