Imperialism and the revolution