Brown agrees to time served in deal