Authorities in the United States on Tuesday put to death a federal inmate for the first time in 17 years, administering a lethal injection to Daniel Lewis Lee just six hours after the Supreme Court had given the green light for the execution in a 5-4 ruling.

"Law and order," US President Donald Trump tweeted shortly after the high court decided that "executions may proceed as planned."

Federal prison authorities in Terre Haute, Indiana, executed Lee, a former white supremacist who was convicted in 1999 of torturing and killing three members of the same family three years earlier in the south-central state of Arkansas and dumping their bodies in a lake.