CM thanks PML-N, allied parties for strengthening democracy