A Foley & Lardner partner who sued his firm for paying him less than female, minority and younger partners was rebuked by a federal appellate court Monday.

Raymond Carey, a founding partner of Foley’s Detroit office who is now retired, claimed the firm had paid him less per hour than lawyers who did work similar to him. The court, however, said Carey failed to prove that his work and skills were comparable to colleagues.