Omnicare Inc. and a Livonia, Mich.-based subsidiary will pay about $52.5 million to settle a civil case related to Medicaid fraud allegations in Michigan, state officials said Thursday.

It is the largest Medicaid fraud settlement in state history, Attorney General Mike Cox said.