Solution of the Einstein field equations