The Song capital moved from north to south in the early twelfth century __________.

A. because of military encroachment by the Japanese.
B. because of a need to locate around more fertile agricultural lands.
C. because of an invasion by the Jurchen.
D. to settle in a more strategic trading position.