The Ottoman Empire was weakening , however , and in 1821 , the peoples of the Greek mainland achieved nationhood for the first time .
The ottoman empire weakened , so in 1821 the Greeks achieved nationhood .