The Ottoman Empire was one of the premier countries in the Middle East by the end of the 18 th Century However by the beginning of the 19 th Century.