What were the effects of the Battle of Chancellorsville?

The Battle of Chancellorsville resulted in a Confederate victory, but casualties on both sides were heavy. Also, Thomas 'Stonewall' Jackson was mortally wounded in this battle.