Carlos Osorio, Associated Press
FILE - In this Feb. 7, 2013 file photo, Michigan Gov. Rick Snyder presents his third state budget before the state Legislature in Lansing, Mich.

LANSING, Mich. — Michigan Gov. Rick Snyder has testified behind closed doors about his role in taking Detroit into bankruptcy, a rare interview with lawyers for creditors.

Snyder waived executive privilege and gave a deposition under oath Wednesday at his office in Lansing. The testimony can be used as evidence in an upcoming trial that will determine whether Detroit is eligible to shed billions of debt in bankruptcy court.

Later in a statement, the Republican governor said bankruptcy was the only "viable option" for Detroit. He approved the recommendation.

Union attorney Sharon Levine says Snyder didn't disclose a plan for retiree pensions. She says the governor also believes there were good-faith negotiations with creditors before the bankruptcy filing.