After chromosomes are formed, during which phase of mitosis do the chromosomes attach to the spindle fibers by their centromeres?

anaphase
prophase
metaphase
telophase

metaphase