Select the correct meaning for the word below.
magnanimity
(noun)
sudden and unaccountable changes of mood or behavior
generosity and noble spirit
the medieval knightly system with its religious, moral, and social code
a line of people preventing access