This massive three-aisled basilica with a long, high chancel is the third longest church building in Prague. The church was founded in 1232, and was rebuilt in Baroque style in the 18th century. The choir is home to an organ dated back to 1705. The Basilica of St James is currently also the venue for organ concerts. The church was built at the Minorite Monastery founded under King Wenceslas I in connection with the establishment of Prague's Old Town. One of the most attractive churches in the town, the coronation feast for the royal couple, John of Bohemia (John the Blind) and Elisabeth of Bohemia, was held here in 1311, After a destructive fire in the monastery, in 1319 King John of Bohemia founded a new Gothic church which was completed by Emperor Charles IV in 1374. The top of the vault rose up as much as 30 meters and was one of the three longest Royal Cathedrals in Prague. This was also often the site of royal funeral ceremonies. It was here where the body of Charles IV was shown in an exquisite catafalque, surrounded by five hundred candles; in 1577 Emperor Maxmilian II was temporarily interred here.After the fire of 1689, architect Jan Šimon Pánek remodelled the church in the Baroque style. Structural work was completed in 1702, while the interior work was carried out from 1736 – 1739. The change erased the Gothic shapes and forms from the exterior of the church, but the original floor plan remained the same, as did part of the walls from the early 14th century.