Original: According to a local myth, building the first bridge was very hard and so the Devil himself agreed to build it.
Simplified: Building the first bridge was very hard. According to a local myth, the first bridge was built by the devil himself.