The former first minister announced the split on social media