 This left the "federation" with only one member, El Salvador.On 31 March 1840, El Salvador dissolved the federation and Vigil's term came to an end.On 8 April 1840 Diego Vigil and Francisco Morazán sailed from El Salvador for Costa Rica and Panama.