The document describes a Distributed Power Flow Controller (DPFC) that is presented as a new power flow controlling device to mitigate voltage sags and harmonics. The DPFC improves upon the Unified Power Flow Controller (UPFC) by eliminating the common DC link and distributing the series converter into multiple low-rating single-phase converters. This greatly reduces costs and improves reliability compared to the UPFC. The DPFC allows independent operation of the shunt and series converters, with active power exchanged through the transmission line at the third harmonic frequency instead of through a common DC link. The DPFC is simulated in MATLAB/Simulink to validate its ability to improve power quality during different types of faults.