This paper aims to reduce the power losses and to enhance the voltage profile of the power system while maintaining the loading of the transmission lines within the allowable limits, through the optimal placement of the Unified Power Flow Controller (UPFC).