Senator John McCain, instead of being by President Donald Trump’s side in his mission to make America safe again, seems to be turning his back on the entire country.

He had a phone call with the Australian ambassador, and reportedly told him to pass on a message to Prime Minister Malcolm Turnbull. With that, he might be violating the Logan Act, which prevents citizens from interfering in disputes the United States is having with foreign countries.

“Australia is one of America’s oldest friends and staunchest allies,” a statement from McCain read. “In that spirit, I called Australia’s Ambassador to the United States this morning to express my unwavering support for the U.S.-Australia alliance.”

The Logan Act says that any citizen of the United States who “without permission of the United States” either directly or indirectly “commences or carries on correspondence” with any foreign government or any officer of another government, to “influence the measures or conduct of any foreign government or of any officer” in ongoing controversies or disputes with America, shall be fined or sent to prison for three years – or both.

“We are united by ties of family and friendship, mutual interests and common values, and shared sacrifice in wartime,” Senator McCain began explaining what he said to the Australian ambassador.

“I asked Ambassador Hockey to convey to the people of Australia that their American brothers and sisters value our historic alliance, honor the sacrifice of the Australians who have served and are serving by our side, and remain committed to the safer, freer, and better world that Australia does far more than its fair share to protect and promote.”