Opposite of village Pili in MT Koziakas in the prefecture of Trikala and crossing the bridge we are in the old settlement of Porta Panagia where the temple is located. It is one of the most important religious and Byzantine sites. Founded in 1283 by Ioannis Aggelos Komninos Doukas, son of Michael II Doukas, who was despot of Epirus.
The Church of Porta Panagia consists of the nave characterized as basilica and inside are preserved frescoes of the 18th century. Features both psifidota at the entrance of the shrine gate with Virgin right and left Christ unlike all other churches and traditions of Christianity.
The exterior walls up to a height of 2 meters are made of large limestone, some of which form crosses. The windows are surrounded by arched frames that reach their apron. Even apart from the main temple is the outer narthex which was built at the end of the 14th century and is shaped cruciform church with a dome.
Most of the sculptural decoration and the Porta Panagia mosaic was destroyed during the fire of 1855.