Indonesian police say four senior officials, including two Cabinet ministers and the national spy chief, were targeted for assassination as part of a plot possibly linked to last week's post-election riots.

National Police chief Tito Karnavian told a news conference Tuesday that details of the plot were obtained from interrogations of arrested rioters.

Seven people died in two nights of rioting last week in Jakarta after official election results confirmed that President Joko Widodo had won a second term. Police say the riots, which broke out during peaceful protests, were planned.

Karnavian said the officials targeted for assassination included top security minister Wiranto, who uses a single name, and his predecessor, Luhut Binsar Panjaitan, who is currently maritime minister.