Conventionally, there are problems that high resolution is difficult to be achieved since an extreme narrow width bank can not be formed and an aperture ratio as a light-emitting device is low. In addition, there is a threat of electrostatic discharge damage or adhesion of dust during the transportation of a substrate provided with an anode into the equipment for depositing EL material. In view of the foregoing, a first bank formed of an inorganic insulating film is formed, and an insulating film is formed thereon, then, a second bank in contact with a side face of the first bank by carrying out etch back, and then, a side wall bank is formed. For preventing electrostatic discharge damage, an antistatic layer is formed, and the substrate is transported, then, the antistatic layer is removed to form the second bank.