Najibullah pursued a policy of National Reconciliation with the opposition, a new Afghan constitution was introduced in 1987 and democratic elections were held in 1988 (which were boycotted by the mujahideen). After the Soviet withdrawal from Afghanistan in 1988–1989, the government faced increasing resistance. 1990 proved to be a year of change in Afghan politics: a new constitution was introduced, which stated that Afghanistan was an Islamic republic, and the PDPA was transformed into the Watan Party, which has survived to this day as the Democratic Watan Party. On the military front, the government proved capable of defeating the armed opposition in open battle, as in the Battle of Jalalabad. However, with an aggressive armed opposition, internal difficulties such as a failed coup attempt by the Khalq faction in 1990 and the dissolution of the Soviet Union in 1991, the Najibullah government collapsed in April 1992.