Sept. 10 (UPI) -- A federal appeals court ruled Wednesday that Shira Perlmutter be reinstated to her role under the legislative branch at the Library of Congress as register of copyrights.

The D.C. U.S. Court of Appeals ruling comes after Perlmutter was dismissed by U.S. President Donald Trump just days after Trump had removed Librarian of Congress Carla Hayden in May, only to replace her with U.S. Deputy Attorney General Todd Blanche.

"Because Perlmutter leads an agency that is housed in the Legislative Branch and her primary role is to advise Congress, Perlmutter's situation differs significantly from the Executive Branch officials whose removals have been repeatedly upheld," Judges Florence Pan and J. Michelle Childs, both appointees of President Joe Biden, wrote Wednesday in their decision.

U.S. law dictates that the president appoint a Senate-confirmed Librarian of Congress, who in turn appoints the register of copyrights.

Related