The Trump administration will now have to defend Matthew Whitaker’s role as acting attorney general in court, after a Maryland federal court filing challenged his appointment Tuesday.

Maryland Attorney General Brian Frosh has asked U.S. District Judge Ellen Hollander to issue a preliminary injunction that declares Deputy Attorney General Rod Rosenstein, instead of Whitaker, as the acting attorney general.