Costa Rica opened its embassy in Tel Aviv Friday, relocating its diplomatic mission after 24 years in Jerusalem, the foreign minister said in a statement. President Oscar Arias has said the move was needed to bring the Central American nation into line with international law and mend relations with Arab nations. Israel claims all of Jerusalem as its capital, but most nations don't formally recognize that claim. Since 1982, Costa Rica and El Salvador have been the only two countries with embassies there. In August, both countries announced their decisions to relocate to Tel Aviv.