What is the job of a divorce attorney?

A divorce attorney's job is to represent one party in divorce proceedings and negotiate the splitting of assets between the two parties as well as negotiating alimony.