Japan has agreed to help Mongolia develop mines to exploit rare earth metals in the wake of its bilateral ruckus with China over supplies of the crucial elements.

The accord was struck Saturday between Prime Minister Naoto Kan and his visiting counterpart, Sukhbaatar Batbold, Japanese officials said.

"Mongolia has high potential in mineral material development and this will serve the two countries' national interests," Kan was quoted as saying.