Fired TTC chief general manager Gary Webster will get more than $560,000 in salary over two years, staying on the payroll seven months longer than if he was allowed to continue working.

A copy of Webster’s contract obtained by the Star states that, if relieved of duties without just cause, he will continue to be a TTC employee with full salary and benefits for 24 months but not do any work.

The July 3, 2010 to July 2, 2013 contract gives Webster — fired Tuesday by allies of Mayor Rob Ford for advocating some surface rail in Toronto’s transit expansion — a base annual salary of $276,257.80, plus periodic hikes as a result of annual performance reviews and inflation.

Webster earned more than $282,000 in 2010, meaning he stands to pocket more than $564,000 — about $160,000 more than if the 37-year TTC employee had been allowed to work until his planned retirement in July 2013.

The contract also offers Webster up to $2,500 to get legal advice and “outplacement counselling” to help find another job.

If Webster takes another job or becomes self-employed, he gets the cash in a lump sum.