Communalism emerged late 19th century alongside nationalism.