This document discusses using a unified power flow controller (UPFC) with an adaptive neuro-fuzzy controller to damp low frequency oscillations (LFO) in a power system. It presents a linearized model of a single machine connected to an infinite bus power system with a UPFC. The UPFC consists of two voltage source converters that can independently control reactive power and the voltage amplitude and phase to influence power flow. Simulation results show the neuro-fuzzy controller provides better damping of LFO disturbances compared to a conventional lead-lag controller for the UPFC.