For competitive-exam purposes, Thomas Edison is credited with developing a commercially practical incandescent electric lamp in 1879. The important point is that the challenge was not merely producing light. It was making a filament last long enough to be commercially useful.