The rise of nationalism swept through many countries during the 19th century, and it affected territories within the Ottoman Empire. A burgeoning national consciousness, together with a growing sense of ethnic nationalism, made nationalistic thought one of the most significant Western ideas imported to the Ottoman Empire. The empire was forced to deal with nationalism from both within and beyond its borders. The number of revolutionary, secret societies which turned into political parties during the next period rose dramatically. Uprisings in Ottoman territory had many far-reaching consequences during the 19th century and determined much of the Ottoman policy during the early 20th century. Many Ottoman ruling elite questioned whether the policies of the state were to blame: some felt that the sources of ethnic conflict were external, and unrelated to issues of governance. While this era was not without some successes, the ability of the Ottoman state to have any effect on ethnic uprisings was seriously called into question.