Democrats and Republicans both taking credit as cease-fire begins