C. Both movements were attempts to gain independence from Great Britain.
Both Nigeria and Kenya experienced nationalist movements aimed at achieving independence from British colonial rule during the mid-20th century. These movements sought to end colonial governance and establish self-determination for their respective nations.