In 1831, Mohammad Ali revolted with the aim of making himself sultan and founding a new dynasty, and his French-trained army under his son Ibrahim Pasha defeated the Ottoman Army as it marched on Constantinople, coming within 200 miles of the capital.