The main role of the ciliary muscles is to hold the eye lens in its position. The ciliary muscles contract and relax to focus on near or far away objects by changing the shape of the eye lens which in turn increases or decreases the focal length of the eye lens.