NEW YORK (AP) — American International Group Inc. said Tuesday its board of directors will weigh whether to take part in a shareholder lawsuit against the U.S. over the government’s $182 billion bailout of the insurer.

If AIG decides to join the complaint, which seeks $25 billion in damages, it would pit the company against the government that rescued it in 2008 from collapsing under the weight huge losses on mortgage-backed securities and other toxic assets

AIG said that its directors will take up the matter on Wednesday and expects they will have a decision by the end of the month.

Starr International Co. Inc., the investment firm of former AIG CEO Maurice Greenberg, filed the lawsuit in November 2011 on behalf of the firm and AIG shareholders.

The complaint, filed in the U.S. Court of Federal Claims and the U.S. District Court for the Southern District of New York, asserts that the government didn’t provide shareholders fair compensation when it took a nearly 80 percent stake in the insurer as part of its bailout. As a result, the government violated the Constitution, Starr claims.

AIG said that, by law, its board must consider three options: take over the lawsuit and pursue the claims on its own; attempt to prevent the claims from being pursued by Starr; or, allow Starr to continue to pursue the complaint on AIG’s behalf.