Introduction
The oldest houses in the village are on carrer d’en Pere Roura, close to plaça de la Font. The rest are isolated buildings around the hill on which Castell de Medinyà stands.
The old town itself is at the top of the hill. In 1017, the place was documented under the name “Medinianus”. It is very likely that the castle grounds once encompassed the church of Sant Sadurní, which is Romanesque in origin and was rebuilt in 1763, as well as several buildings next to the church. These were probably part of the castle's lower enclosure.
Medinyà is a settlement in the municipality of Sant Julià de Ramis, in the province of Girona, although it was an independent municipality until 1972.
It became independent from Sant Julià de Ramis on 4 June 2015 following a popular vote, making it Catalonia's 948th municipality. It was the 121st municipality by population, with 866 registered inhabitants in 2014. However, in 2018, the parliamentary law approving its creation was declared unconstitutional, and the municipality ceased to exist and was reintegrated into Sant Julià de Ramis.