A main magnetic pole includes a first part extending from a medium facing surface to a point at a predetermined distance from the medium facing surface, and a second part other than the first part. In this method, the resin covering layer B having a thickness of 30 to 100 \u03bcm is formed on the floor. The bottom surface includes first electrical connectors that convey power, and through-substrate vias between the top and bottom surfaces are electrically coupled to these electrical connectors. Taxpayers are positioned within the analytical space.