The City of Atlanta has agreed to a $1.2 million settlement with an ex-Atlanta Fire chief over his firing after he wrote a book that compared homosexuality to bestiality.

The city council approved the payout to Kelvin Cochran with a vote of 11-3, according to WSB Radio, which was at the city council meeting Monday.

MORE: Former Atlanta fire chief files federal lawsuit against Reed, city

Cochran filed a federal civil rights lawsuit against former Mayor Kasim Reed and the city after his termination in January 2015, saying he was fired because of his religion. Reed said he fired Cochran during his initial 30-day suspension because of poor judgment and insubordination.

Cochran wrote a religious book titled “Who Told You That You Are Naked?” which described homosexuality as “unclean” and grouped it with bestiality.

RELATED: Former Atlanta fire chief claims discrimination in civil rights suit

Attorneys with the faith-based nonprofit Alliance Defending Freedom represented Cochran and filed the suit on Feb. 20, 2015.

Former Atlanta Fire Chief Kelvin Cochran speaks about his termination during news conference.

In a letter distributed to his supporters, Reed defending the firing and said Cochran did not get the required clearance to write the book. He also said Cochran compromised his ability to oversee gay employees and put the city at risk of discrimination claims.

RELATED: Reed writes letter explaining fire chief firing

The city found no evidence during its investigation of Cochran that his beliefs had played a role in his leadership.

MORE: Reed's office releases internal report into fire chief's management

In other news:

A monthlong investigation led to a drug bust at a local food mart.