Why was lead added to paint?

Why was lead added to paint.