Original: On Richard's way home, his ship was wrecked and he ended up in Austria, where his enemy, Duke Leopold, captured him.
Simplified: On Richard's way home, his ship was wrecked, leading him to Austria. In Austria his enemy Duke Leopold captured him, and Richard was held.