DUBAI - Iran and Saudi Arabia after talks in Beijing have agreed to re-establish diplomatic relations, Iranian state media reported on Friday.

"As a result of the talks, Iran and Saudi Arabia agreed to resume diplomatic relations and re-open embassies ...within two months," Iranian news agency IRNA reported.

There was no immediate confirmation of the report from Saudi media.

Iranian media quoted what they described as a joint statement between Iran, Saudi Arabia and China as saying the two countries "emphasise respect for sovereignty and non-interference in each other's internal affairs".

(Reporting by Dubai newsroom; editing by Jason Neely)