US President Donald Trump may have violated federal law by firing 17 independent watchdogs at multiple government agencies on Friday. File photo.