WASHINGTON — President Obama called Bernie Sanders on Sunday to talk about the future of the senator’s presidential bid, according to a Democratic official.

Sanders is campaigning in California, where he is battling against Hillary Clinton in the last major contest of the Democratic primary.

The official was not authorized to publicly discuss the private conversation and spoke on condition of anonymity. The official would not reveal details of the conversation.