bank of the Ribeira de Safarujo to Ribamar. In the south, the last line of defence, should the French breach the defences, were the forts of Carvoeira, São Julião and Zambujal. Republic On 5 October 1910, the Mafra Palace was also the scene for an episode of the Republican Revolution that occurred in Lisbon. King Manuel II fleeing from the coup in Lisbon, took refuge and over-nighted in the Palace of Mafra. The next day they abandoned the palace, by car, travelling with his mother and grandmother to the shores of Praia dos Pescadores in Ericeira, where the royal yacht D. Amélia would take them onto Gibraltar and exile. Later that month, on 20 October, a group of monarchists gathered in the Largo D. João V with arms, where they walked to the Infantry School (), installing themselves in the convent, cutting the telephone wires and telegraph cables. The revolt was easily put down by the military but resulted in a collection of hundreds of people in the local jails. In 1911, in the Depósito de Remonta e Garanhões which was later replaced by the Military Equestrian School () in 1950 and, seven years later, the Military Centre for Physical Education, Equestriansim and Sport (). Today, it continues to function as the Military Centre for Physical Education and Sport (), since 1993, in the Largo General Conde Januário and the Infantry School (), in the Convent of Mafra. Geography Administratively, the municipality is divided into 11 freguesias: Azueira e Sobral da Abelheira Carvoeira Encarnação Enxara do Bispo, Gradil e Vila Franca do Rosário Ericeira Igreja Nova e Cheleiros Mafra Malveira e São Miguel de Alcainça Milharado Santo Isidoro Venda do Pinheiro e Santo Estêvão das Galés Twin towns — Sister cities Mafra is twinned with: Fréhel, Côtes-d'Armor, France Leimen, Baden-Württemberg, Germany Mindelo, São Vicente, Cape Verde, Cape Verde Economy It is mainly rural with some tourist activity centred in the town Mafra and especially in the seaside town of Ericeira, which has become a key destination for national and international surfers. After the completion of the A8 motorway, linking the eastern part of the municipality to the centre of Lisbon, commuter population has increased substantially. Transportation The municipality of Mafra is served by a road network that includes national roadways (EN8, EN9, EN116 and EN247) and secondary municipal roadways, permitting access to the municipalities of Torres Vedras, Sintra, Loures, Sobral