 Complete the following phrase:  Ypati  is a village and a former municipality in Phthiotis, central peninsular Greece. Since the 2011 local government reform it is part of the municipality of Lamia, of which it is a municipal unit. The municipal unit has an area of 257.504 km2. Its 2011 population was 4,541 for the municipal unit, and 496 for the settlement of Ypati itself. The town has a long history, being founded at the turn of the 5th4th century BC as the capital of the Aenianes. During the Roman period the town prospered and was regarded as the chief city of Thessaly, as well as a bishopric. It was probably abandoned in the 7th century as a result of the Slavic invasions, but was re-established by the 9th century as Neopatras. The town became prominent as a metropolitan see and was the capital of the Greek principality of Thessaly in 12681318 and of the Catalan Duchy of Neopatras from 1319 to 1391. It was conquered by the Ottomans in the early 15th century and remained under Ottoman rule until the 