The Rouen Castle is a historical castle of the town in Rouen, capital of the duchy of Normandy, now in France. It was built by Philip II of France from 1204 to 1210 following his capture of the duchy from John, Duke of Normandy and King of England. Located outside the medieval town to its north, in a dominant position, it played a military role in the Hundred Years' War and the Wars of Religion. It was the main seat of power, administration and politics in the duchy of Normandy for nearly 400 years, symbolically replacing the ducal palace of Rouen in these roles - of the bailliage and vicomté of the king of France, of the English government of the area (1418–1449), of the échiquier de Normandie (which became the Parlement de Normandie). It was here that Joan of Arc was imprisoned in December 1430 and tried from 21 February to 23 May 1431. Vulnerable to artillery like other medieval fortresses, all but the keep (now known as the Tour Jeanne d'Arc) was dismantled in 1591.