How long did Jessica Simpson's marriage to Nick Lachey last?

October 26, 2002 until the divorce was finalized June 30, 2006. So it was just shy of 4 years.