In 1821, the Greeks declared war on the Sultan.