For example, Thomas Edison encountered numerous failures in his quest to develop the electric light bulb, but his determination to overcome each setback ultimately led to his groundbreaking invention.

rewrite this sentence to add variety to the sentence structure

Thomas Edison encountered numerous failures in his quest to develop the electric light bulb; however, his determination to overcome each setback ultimately led to his groundbreaking invention.