This paper outlines a design method for tuning of PID controller using new algorithm based on Particle Swarm Optimization. The tuned PID controller is used in liquid level system control. Compared to different algorithms; the proposed method was more efficient. It gets the best results.