WASHINGTON (AP) — Anthony Scaramucci is out as White House communications director after just 11 days on the job.

A person close to Scaramucci confirmed his ouster just hours after President Donald Trump's new chief of staff, John Kelly, was sworn into office.

The person spoke on condition of anonymity because they were not authorized to discuss the change before it was officially announced.

Scaramucci has been in the spotlight since he was first announced as communications director earlier this month.

The New Yorker magazine published an interview Thursday in which Scaramucci went on a profanity-laden tirade against Reince Priebus, then chief of staff.

Kelly, a retired general and previous Homeland Security secretary, was sworn into his new job Monday morning.

Copyright 2017 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.