Original: The cathedral was constructed throughout the 13th to 15th centuries , with the principal work done in the 14th century .
Simplified: Catalan legend says that the body swerved to avoid getting hit by a cannonball .