Einstein’s field equations of general relativity corresponding to the anisotropic (principal stresses unequal) static fluid sphere in presence of electromagnetic field have been solved exactly. The integration constants are determined by matching the obtained solution with the Reissner-Nordstrom solution over the boundary. It has been found that the flaid model has non-negative expression for mass density and pressure. The mass density and stresses are everywhere regular and monotonically decreasing functions of the radial coordinate.