The fate of the United States’ most ambitious stem cell research agency is resting in the hands of a California judge as both sides filed written closing arguments in a trial challenging the institute’s legality.

Three taxpayer groups alleged the voter-approved California Institute for Regenerative Medicine lacks the proper state government oversight to dole out $3 billion in research grants for the next decade.