Question: What empire was the person who reconstructed the Ioannina Castle part of?
Context: Pamvotida (Greek: Παμβώτιδα ) is a former municipality in the Ioannina regional unit, Epirus, Greece.  Since the 2011 local government reform it is part of the municipality Ioannina, of which it is a municipal unit.  It is named after the Lake of Ioannina, which is also known as Pamvotida.  The municipal unit has an area of 138.616 km.  Population 10,468 (2011).  The seat of the municipality was in Katsikas. Bizani (Greek: Μπιζάνι ) is a village and a former municipality in the Ioannina regional unit, Epirus, Greece.  Since the 2011 local government reform it is part of the municipality Ioannina, of which it is a municipal unit.  The municipal unit has an area of 91.372 km, the community 11.660 km.  In 2011 its population was 5,124.  The seat of the municipality was in Pedini.  The municipal unit is situated in the plains and low hills south and southwest of Ioannina.  The Greek National Road 5 (Ioannina - Arta), the Greek National Road 17 (Ioannina - Dodoni) and the Egnatia Odos motorway (Igoumenitsa - Ioannina - Thessaloniki) pass through the municipal unit. Ali Pascha von Janina oder Die Franzosen in Albanien ("Ali Pasha of Ioannina or The French in Albania") is a one-act German singspiel.  It is set around 1820 in Ioannina, then part of the Ottoman Empire and is named after its central character Ali Pasha of Ioannina. The Ioannina Castle (Greek: Κάστρο Ιωαννίνων ) is the fortified old town of the city of Ioannina in northwestern Greece.  The present fortification dates largely to the reconstruction under Ali Pasha in the late Ottoman period, but incorporates also pre-existing Byzantine and ancient Greek elements. Mitsikeli (Greek: Μιτσικέλι ) is a mountain range in the central part of the Pindus mountains, in Epirus, Greece.  The mountain is located northeast of Ioannina and Lake Ioannina.  Its highest elevation is 1,810 m.  It stretches from near Kalpaki in the northwest to the eastern end of Lake Ioannina, a total length of 35 km.  The northeastern slopes and the lower northwestern part of Mitsikeli are forested.  The nearest mountains are the Tymfi to the north, the Lygkos to the northeast and the Lakmos to the east.  It is drained by tributaries of the Thyamis to the northwest, towards Lake Ioannina to the southwest, by the Voidomatis (tributary of the Aoos) to the northeast and by the Arachthos to the southeast. Greek National Road 20 (Greek: Εθνική Οδός 20 , abbreviated as EO20) is a single carriageway road in northwestern Greece.  It links the cities of Ioannina and Kozani via Konitsa and Siatista.  It passes through the Ioannina, Kastoria and the Kozani regional units.  Since the opening of the A2 (Egnatia Odos), it is no longer the fastest connection between Kozani and Ioannina.  The section between Ioannina and Kalpaki is part of the European route E853. The Ioannina Eyalet (Ottoman Turkish: ایالت یانیه; "Eyālet-i Yānyâ"‎ ) was an administrative unit of the Ottoman Empire located in the territory of present-day southern Albania, central and northern Greece.  It was formed in 1670 and its administrative centre was Ioannina.  In period 1788—1822 Ali Pasha, the sanjakbey of Trikala, seized control over Ioannina and after enlisting most of the local brigands under his own banner took advantage of a weak Ottoman government to gain control over the Ioannina Eyalet and most of Albania and continental Greece, transforming it into the semi-autonomous Pashalik of Yanina.  After he was killed in 1822 the Ottoman Empire reestablished the Ioannina Eyalet which existed until establishment of the Janina Vilayet in 1867. Kalpaki (Greek: Καλπάκι ) is a former municipality in the Ioannina regional unit, Epirus, Greece.  Since the 2011 local government reform it is part of the municipality Pogoni, of which it is a municipal unit.  It is situated about 30 km northwest of Ioannina, and southwest of Konitsa.  The municipal unit has an area of 116.756 km, the community 13.189 km.  Population 1,719 (2011).  The Greek National Road 20 connects Kalpaki with Ioannina and Konitsa.  The GR-22 connects Kalpaki with Kakavia, the border crossing into southern Albania. Ali Pasha (1740 – 24 January 1822), variously referred to as of Tepelena or of Janina/Yannina/Ioannina, or the Lion of Yannina, was an Ottoman Albanian ruler who served as pasha of a large part of western Rumelia, the Ottoman Empire's European territories, which was referred to as the Pashalik of Yanina.  His court was in Ioannina, and the territory he governed incorporated most of Epirus and the western parts of Thessaly and Greek Macedonia.  Ali had three sons: Muhtar Pasha, who served in the 1809 war against the Russians, Veli Pasha, who became pasha of the Morea Eyalet and Salih Pasha, governor of Vlore. Lake Pamvotida or Pamvotis (Greek: Λίμνη Παμβώτιδα/Παμβώτις ), commonly also Lake of Ioannina (Greek: Λίμνη των Ιωαννίνων , "Limni ton Ioanninon") is the largest lake of Epirus, located in the central part of the Ioannina regional unit in northern Greece.  The regional capital Ioannina to the west and the town of Perama to the north are urban settlements fringing the lake while the remaining of its periphery is composed of farmland.  The lake features small fishing ports and a boating port.  There is a regular boat service to the Ioannina Island.  The Greek National Road 6 surrounds the northern half of the lake.
Answer: the Ottoman Empire