This study examined the design of a Load Frequency Control (LFC) component in a four-area interconnected power system. LFC maintains the frequency of a power system within a prescribed limit. Various controllers for the LFC of a power system have been proposed. The PID controller is a classical approach to LFC. A PID controller that uses a filter in the derivative part amplifies and smooths out the high-frequency noise. The selection of the appropriate optimization method to tune controller gains plays a vital role for LFC. In this work, the PID controller was optimized using the Particle Swarm Optimization (PSO) and the JAYA optimization methods and was simulated in Matlab-Simulink. After studying and comparing the results, it was concluded that the PID controller using the JAYA algorithm provided better LFC in terms of system settling time, overshoot, undershoot, and performance index compared to other optimization methods.