Which of the following is the way in which major political parties formally select nominees for the presidential election?

A. Partisan elections
B. The electoral college
C. Non-partisan elections
D. The national convention

D. The national convention