The statement that best describes a way that liberalism and nationalism differed is:
Liberalism expected equal rights for all people within a state, while nationalism favored a specific identity based on culture.
This reflects the distinct focus of liberalism on individual rights and equality, whereas nationalism emphasizes a shared identity often based on culture, language, or ethnicity.