TRENTON, N.J. — A state development agency borrowed more than $300 million for the renovation of the New Jersey statehouse right after approving the project and before a lawsuit was filed to stop it.

A group of lawmakers who sued to stop Gov. Chris Christie’s renovation plan say they only found out about the bond sale at a court hearing about their lawsuit Wednesday.

State Sen. Ray Lesniak and Assemblyman John Wisniewski are Democrats both seeking their party’s nomination for governor and have sued, along with Republican state senators Kip Bateman and Michael Doherty.

Christie said in Newark on Wednesday the project was approved legally and attacked the lawsuit as politically motivated.

The lawmakers say Christie approved the debt improperly without voter or lawmaker approval.