Which is an example of a responsibility of the legislative branch?

A. The creation of a new law making it easier for students to pay for college.
B. The formation of new cabinet offices
C. The choice to ally militarily with another nation
D. The decision to declare a state law in violation of the Constitution