  In this paper a new class of exact solutions of Einstein's field equations
for compact stars with charged distributions is obtained on the basis of
pseudo-spheroidal spacetime characterized by the metric potential
$g_{rr}=\frac{1+K\frac{r^{2}}{R^{2}}}{1+\frac{r^{2}}{R^{2}}}$, where $K$ and
$R$ are geometric parameters of the spacetime. The expressions for radial
pressure ($ p_r $) and electric field intensity ($ E $) are chosen in such a
way that the model falls in the category of physically acceptable one. The
bounds of geometric parameter $K$ and the physical parameters $ p_0 $ and
$\alpha$ are obtained by imposing the physical requirements and regularity
conditions. The present model is in good agreement with the observational data
of various compact stars like 4U 1820-30, PSR J1903+327, 4U 1608-52, Vela X-1,
SMC X-4, Cen X-3 given by Gangopadhyay {\em{et al.}} [Gangopadhyay T., Ray S.,
Li X-D., Dey J. and Dey M., {\it Mon. Not. R. Astron. Soc.} {\bf431} (2013)
3216]. When $ \alpha = 0, $ the model reduces to the uncharged anisotropic
distribution given by Thomas and Pandya [Thomas V. O. and Pandya D.
M.,~arXiv:1506.08698v1 [gr-qc](26 Jun 2015)].
