In July 1980, Israel passed the Jerusalem Law as Basic Law. The law declared Jerusalem the "complete and united" capital of Israel. The Jerusalem Law was condemned by the international community, which did not recognize Jerusalem as the capital of Israel. The United Nations Security Council passed Resolution 478 on 20 August 1980, which declared that the Jerusalem Law is ""a violation of international law"", is ""null and void and must be rescinded forthwith"". Member states were called upon to withdraw their diplomatic representation from Jerusalem. Following the resolution, 22 of the 24 countries that previously had their embassy in (West) Jerusalem relocated them in Tel Aviv, where many embassies already resided prior to Resolution 478. Costa Rica and El Salvador followed in 2006.