The capacitor has a porous anode element (31) of valve metal. It also has an oxide film layer (32) formed on the anode element (31). The cathode layer (34) is provided between the oxide layer (32) and the cathode layer (34). An outer anode electrode layer 937) is arranged on one of the ends surfaces of the anode element (31). An outer cathode electrode layer (36) is arranged on the other end surface of the electrode element and is electrically connected to the cathode layer (34). An outer packaging resin layer (38) covers a region where the outer anode electrode layer and the outer cathode electrode layer are not formed, so as to insulate both electrode layers from each other. One of the end surfaces of the anode element has a region (39) which is impregnated with an insulating resin, where the anode element is impregnated with electric insulation. The anode element and the outer anode electrode layer are electrically connected to each other in the region (39) impregnated with insulating resin.