Its history dates from the 9th century AD, for a long time it was one of the most powerful countries in Central Europe. Later on it was the biggest, most populated and richest country of the First Reich, where many Emperors started their career. Under the conditions of the Treaty of Vienna 1515 parts of Czechia, then in the Kingdoms of Bohemia and Hungary, came under Habsburg rule after the death of Louis the Jagiellon in 1526. They stayed a part of the Habsburg dynasty rule until 1918.