Nearly two weeks of round-the-clock negotiations ended in success late last night when Democratic Unionist Party ( DUP ) members of the Stormont Assembly agreed to back the deal brokered with Sinn Fein .