the capital of the Lordship of Ireland from 1361 until 1374. This imposing structure survived largely intact until 1814 when it was mostly destroyed in an attempt to turn the building into a lunatic asylum. The present remains now are the West Wall with two of its cylindrical towers. Carlow was incorporated as a borough in 1296 by Edward I. The parliamentary borough returned two MPs to the Irish House of Commons until 1801 and its successor constistuency returned one MP to the United Kingdom House of Commons from 1801 to 1885. The bridge over the River Barrow, Graiguecullen Bridge, is agreed to date to 1569. The original structure was largely replaced and widened in 1815 when it was named Wellington Bridge in celebration of the defeat of Napoleon's army by the Duke of Wellington at the Battle of Waterloo in June of that year. The bridge was built across a small island in the river and a 19th-century house was constructed on the bridge – this was for a time occupied by the Poor Clares, an enclosed religious order who still have a convent in Graiguecullen. Another convent belonging to the Presentation Order of nuns now houses the County Library and the Carlow County Museum. The cathedral, designed by Thomas Cobden, was the first Catholic cathedral to be built in Ireland after Catholic Emancipation in 1829. Its construction cost £9,000 and was completed in 1833. Saint Patrick's College, located beside the cathedral, dates from 1793. The college was established in 1782 to teach the humanities to both lay students and those studying for the priesthood. The Carlow Courthouse was constructed in the 19th century. There are still many old estates and houses in the surrounding areas, among them Ducketts Grove and Dunleckney Manor. St Mullin's today houses a heritage centre. In 1703 the Irish House of Commons appointed a committee to bring in a bill to make the River Barrow navigable; by 1800 the River Barrow Track was completed between St. Mullin's and Athy, establishing a link to the Grand Canal which runs between Dublin and the Shannon. By 1845 88,000 tons of goods were being transported on the River Barrow Navigation. Carlow was also one of the earliest towns to be connected by train. The Great Southern and Western Railway had opened its mainline as far as Carlow in 1846, and this was extended further to Cork in