By Bruce Levine–

(CBS) –White Sox designate hitter Adam Dunn agreed to waive a no-trade clause in his contract and accept a trade to the Oakland A’s on Sunday.

READ MORE: Northwestern University Bans All Social Activities At Campus Fraternities Until At Least Mid-October After Reports Of Drugging

The White Sox received relief pitcher Nolan Sanburn. The A’s also received cash considerations.

Dunn says he will retire at the end of the season.

Dunn was in the last year of a four-year, $56-million contract he signed before the 2011 season. Chicago was hoping to clear roster room for minor league players who they hope to look at in this final month of the season. First baseman Andy Wilkins was called up from Triple-A and was inserted in the lineup Sunday after Dunn was dealt.

The Chicago years didn’t really go that well for Dunn, who hit .199 in his trials and tribulations for the White Sox. Dunn was named to the All-Star team in 2012, but hitting 50 points below his career National League average was mystery to both Dunn and the Sox front office.

READ MORE: Suspect Tries To Break Into ATM In Portage Park Using Blow Torch

“He had the most difficult year of his career when he came here,” White Sox general manager Rick Hahn said. “He certainly heard about it and put a lot of pressure on himself. He carried himself with class throughout the entire time he was here. He was a great asset in the clubhouse and a stand-up individual.”

Dunn hit 106 home runs in his White Sox career, leading the league in both bases on balls and strikeouts in 2012. White Sox fans will most likely remember the 2011 season as the image that most defined the friendly Texan’s four years in Chicago, as he hit just .159 with 11 homers and 42 RBIs.

Chicago will pay Oakland around $1.3 million of the $2.5 million left on his Dunn’s deal. Hahn said the White Sox needed permission from the player to finish the transaction.

“We had some pretty robust conversations over the last couple of days,” Hahn said. “We zeroed in on the Oakland deal and then I had a conversation with Adam postgame yesterday. He did have to waive his no-trade clause to go to Oakland, so he deserves credit for that. He had an opportunity to play on a potential winning team, and he took it.”

In his 14th season, Dunn has never played on a playoff team. He has accumulated 460 career home runs, good for 36th place on the all-time home run list.

MORE NEWS: 1 Dead, 3 Injured After Shooting In Humboldt Park

Bruce Levine covers the Cubs and White Sox for 670 The Score and Follow him on Twitter @MLBBruceLevine.