Sildenafil (viagra) was actually developed as a vasodilator for high blood press
It was developed to treat high blood pressure and similar disorders because it can induce dilation of blood vessels. During clinical trials, they discovered it had other, more profitable uses.