The document presents an Adaptive Network based Fuzzy Inference System (ANFIS) based Terminal Sliding Mode Control (ANFISTS) approach for controlling nonlinear systems. The ANFISTS control system combines an ANFIS controller to approximate an ideal controller with a Terminal Sliding controller to compensate for uncertainties and disturbances. The approach is demonstrated on an inverted pendulum system in simulation. Results show the ANFISTS control achieves better performance and robustness compared to a traditional fuzzy control approach.