[ Sum of angles in a triangle. Theorem about the exterior angle. ] [ Criteria and properties of an isosceles triangle. ]

In triangle $A B C$, angle $C$ is three times angle $A$. A point $D$ is taken on side $A B$ such that $B D=B C$.

Find $C D$, if $A D=4$.