The Greek independence struggle had many leaders, but probably the most prominent was Alexander Ypsilantis, who became the leader of an independence organization known as the "Friendly Brotherhood" in 1821. A prince in the Greek royal family, Ypsilantis was captured and imprisoned in that year, but he became the symbol of the Greek independence movement throughout Europe. Additionally, his brother Demitrios became a general in the Greek forces fighting against the Ottomans. Another important leader of the independence movement was Gregory V, the Greek Orthodox patriarch whose death at the hands of the Turks helped to galvanize European liberal opinion in favor of the Greeks. When the war came to an end, the major European powers installed Otto, the Prince of Bavaria, as king of an independent Greek kingdom.