With the Vietnamese invasion of Cambodia in 1978, communist Vietnam had a combined force of about 300,000 in Laos and Cambodia. This posed a massive potential threat to the Thais, as they could no longer rely on Cambodia to act as a buffer state. Small encounters occasionally took place when Vietnamese forces crossed into Thailand in pursuit of fleeing Khmer Rouge troops. However, a full and official conflict was never declared, as neither country wanted it.