(CNN) White House chief of staff John Kelly announced at a senior staff meeting Monday that President Donald Trump asked him to stay on as chief of staff until at least 2020 -- and that he agreed -- three White House officials confirmed to CNN.

Kelly and Trump discussed him staying on as chief of staff until 2024, a source with knowledge of the conversation tells CNN, but he only committed to staying through the remainder of the president's first term.

Kelly has seen his status as chief of staff diminished in recent months, with the President circumventing many of the policies and protocols the retired Marine Corps general put in place when he entered the West Wing last year. Though Trump has vacillated between criticizing and praising Kelly in recent months, he highlighted his one year on the job as he swore in the new Veterans Affairs Secretary, Robert Wilkie, in the Oval Office Monday.

"General Kelly -- who, by the way, one year today, right? -- became chief of staff," Trump told a room of onlookers.

Read More