It was set to expire after 25 years , when either state could choose to leave the union .
It was set so that after 25 years , the country could choose to leave the union .