Solovay constructed his model in two steps, starting with a model M of ZFC containing an inaccessible cardinal κ. The first step is to take a Levy collapseM of M by adding a generic set G for the notion of forcing that collapses all cardinals less than κ to ω. Then M is a model of ZFC with the property that every set of reals that is definable over a countable sequence of ordinals is Lebesgue measurable, and has the Baire and perfect set properties. The second step is to construct Solovay's model N as the class of all sets in M that are hereditarily definable over a countable sequence of ordinals. The model N is an inner model of M satisfying ZF + DC such that every set of reals is Lebesgue measurable, has the perfect set property, and has the Baire property. The proof of this uses the fact that every real in M is definable over a countable sequence of ordinals, and henceN and M have the same reals. Instead of using Solovay's model N, one can also use the smaller inner model L of M, consisting of the constructible closure of the real numbers, which has similar properties.
Complements
Solovay suggested in his paper that the use of an inaccessible cardinal might not be necessary. Several authors proved weaker versions of Solovay's result without assuming the existence of an inaccessible cardinal. In particular showed there was a model of ZFC in which every ordinal-definable set of reals is measurable, Solovay showed there is a model of ZF + DC in which there is some translation-invariant extension of Lebesgue measure to all subsets of the reals, and showed that there is a model in which all sets of reals have the Baire property. The case of the perfect set property was solved by, who showed that if every set of reals has the perfect set property and the first uncountable cardinal ℵ1 is regular then ℵ1 is inaccessible in the constructible universe. Combined with Solovay's result, this shows that the statements "There is an inaccessible cardinal" and "Every set of reals has the perfect set property" are equiconsistent over ZF. Finally, showed that consistency of an inaccessible cardinal is also necessary for constructing a model in which all sets of reals are Lebesgue measurable. More precisely he showed that if every Σ set of reals is measurable then the first uncountable cardinal ℵ1 is inaccessible in the constructible universe, so that the condition about an inaccessible cardinal cannot be dropped from Solovay's theorem. Shelah also showed that the Σ condition is close to the best possible by constructing a model in which all Δ sets of reals are measurable. See and and for expositions of Shelah's result. showed that if supercompact cardinals exist then every set of reals in L, the constructible sets generated by the reals, is Lebesgue measurable and has the Baire property; this includes every "reasonably definable" set of reals.