Miglieglia (Italian pronunciation: [miʎˈʎeʎʎa]; Lombard:
Mijoja) is a former municipality in the district of Lugano in the canton of
Ticino 
in
Switzerland 
. On 6 April 2025, the former municipalities of
Astano 
,
Bedigliora 
, Curio, Miglieglia and
Novaggio 
merged to form the new municipality of Lema.
History
Numerous, but inconclusive archaeological findings indicate that there may have been a Roman era settlement near the current municipality. On a promontory overlooking the river Magliasina are the ruins known as Castello di Miglieglia. These ruins were interpreted as remnants of an extensive fortification from the late Classical period. Although is in not confirmed archaeologically, it is likely that the ruins are the remains of a fortified refuge, which was destroyed by the Milanese in 1156 during the conquest of the Diocese of Como.