Generation of intense quasi-electrostatic fields due to deposition of particles accelerated by petawatt-range laser-matter interactions