Entrance gate of the Castle of Loule, this entrance is situated at Rua Dom Paio Peres Correia

Entrance gate of the Castle of Loule, this entrance is situated at Rua Dom Paio Peres Correia

Azulejo tiles are displayed at the wall of the ticket office

Azulejo tiles are displayed at the wall of the ticket office

The old Arabic name of this town was al-Ulya which was changed over the centuries to Loule

The old Arabic name of this town was al-Ulya which was changed over the centuries to Loule

A medieval battering ram is shown in the central courtyard of the castle

A medieval battering ram is shown in the central courtyard of the castle

This siege engine was used to attack the city walls and gates during the siege

This siege engine was used to attack the city walls and gates during the siege

Wel in the middle of the courtyard - an old castle existed here date back to the 2nd century BC

Wel in the middle of the courtyard - an old castle existed here date back to the 2nd century BC

An Arab castle was built around 715AD - Ferdinand (King of Leon) conquered this castle in the 11th century but lost it later

An Arab castle was built around 715AD - Ferdinand (King of Leon) conquered this castle in the 11th century but lost it later

A Muslim army re-took this castle and strengthened it over the centuries

A Muslim army re-took this castle and strengthened it over the centuries

Last time, such work was carried out in the 13th century - part of this is still visible today

Last time, such work was carried out in the 13th century - part of this is still visible today

During the Muslim period, high walls protected the citadel and the medina

During the Muslim period, high walls protected the citadel and the medina

The Castle of Loule was conquered from the Muslims by the knights of the Order of St. James, under the command of Dom Paio Peres Correia in 1249

The Castle of Loule was conquered from the Muslims by the knights of the Order of St. James, under the command of Dom Paio Peres Correia in 1249

In 1268, Afonso III of Portugal expanded the walls and made few structural changes

In 1268, Afonso III of Portugal expanded the walls and made few structural changes

A tombstone from the Hospital of Mercy in Loule (1784)

A tombstone from the Hospital of Mercy in Loule (1784)

This table is from 1702, discovered from the Hospital of Mercy

This table is from 1702, discovered from the Hospital of Mercy

A 1607 tombstone is from the Convent of St. Antonio in Loule

A 1607 tombstone is from the Convent of St. Antonio in Loule

A royal seal is displayed beside one of the internal walls of the castle

A royal seal is displayed beside one of the internal walls of the castle

Some of the old fragments beside the castle wall - two of these are just piles of stones now

Some of the old fragments beside the castle wall - two of these are just piles of stones now

This appears to be a corridor or a tunnel leading to lower sections of the castle, it may date back to the 13th century

This appears to be a corridor or a tunnel leading to lower sections of the castle, it may date back to the 13th century

One of towers of the Loule Castle in the courtyard

One of towers of the Loule Castle in the courtyard

A staircase leads to the upper section (ramparts) of the castle

A staircase leads to the upper section (ramparts) of the castle

One of the three outer towers of the castle, seen from the battlements

One of the three outer towers of the castle, seen from the battlements

The road below these walls is named Rua da Barbaca - hence the name suggests, there may have been a second lower wall below these towers

The road below these walls is named Rua da Barbaca - hence the name suggests, there may have been a second lower wall below these towers

A Portuguese flag flies over one of the three towers of the castle

A Portuguese flag flies over one of the three towers of the castle

Exterior of one of the towers - this tower rises above the  municipal archeological museum

Exterior of one of the towers - this tower rises above the municipal archeological museum

A lookout point inside the tower - probably it was used to monitor the enemy movements

A lookout point inside the tower - probably it was used to monitor the enemy movements

Ceiling of the tower, the brickwork inside the tower looks quite old as compared to the outside of the tower

Ceiling of the tower, the brickwork inside the tower looks quite old as compared to the outside of the tower

Town of Loule seen through the battlements of the castle

Town of Loule seen through the battlements of the castle

In the past, houses were built all the way to the castle walls but some re-modelling of the area managed to preserve the castle

In the past, houses were built all the way to the castle walls but some re-modelling of the area managed to preserve the castle

Loule is a nice little town which offers a very peaceful environment to enjoy the historical sites

Loule is a nice little town which offers a very peaceful environment to enjoy the historical sites

In one of the towers, a nativity scene is shown - this tower had a sensor which would trigger music whenever someone get inside the tower

In one of the towers, a nativity scene is shown - this tower had a sensor which would trigger music whenever someone get inside the tower

Towers and defensive walls of the castle seen from Rua da Barbaca

Towers and defensive walls of the castle seen from Rua da Barbaca

These three towers are the main section of the castle which is still standing today

These three towers are the main section of the castle which is still standing today

Eastern tower of the castle, towards the side of Largo Doutor Bernardo Lopes

Eastern tower of the castle, towards the side of Largo Doutor Bernardo Lopes

This is western side of the castle wall and towers (close to Rua das Bicas Velhas)

This is western side of the castle wall and towers (close to Rua das Bicas Velhas)