Which of the following statements is not true?

A. An angle bisector can be a median of a triangle.

B. A perpendicular bisector can be an altitude of a triangle.

C. A median can be an altitude of a triangle.

D. All of the statements are true.