 Saint-Germain-en-Laye lies at one of the western termini of Line A of the RER.Saint-Germain-en-Laye was founded in 1020 when King Robert the Pious (ruled 996–1031) founded a convent on the site of the present Church of Saint-Germain.In 1688, James II, King of England and VII of Scotland, exiled himself to the city after being deposed from the throne in what has become known as the Glorious Revolution.