Senegal was ruled by a Socialist Party for 40 years until current President Abdoulaye WADE was elected in 2000 .