We swallowed bitter pills for continuity of democracy: Altaf