  We establish strong invariance principles for sums of stationary and ergodic
processes with nearly optimal bounds. Applications to linear and some nonlinear
processes are discussed. Strong laws of large numbers and laws of the iterated
logarithm are also obtained under easily verifiable conditions.
