The result of his first attempt was a broken leg. He re-designed the device in a hospital in Cairo.
He initially failed with his invention, resulting in a broken leg.  He then re-designed the device while receiving medical care at a hospital in Cairo.