did the declaration have anything to do with slaves?
Yes, Jefferson had included a paragraph in his initial draft that strongly indicted Great Britain's role in the slave trade, but this was deleted from the final version.
United States Declaration of Independence
 As mentioned above, Jefferson had included a paragraph in his initial draft that strongly indicted Great Britain's role in the slave trade, but this was deleted from the final version. 
who did the united states declare independence from British when did this take place? July 4, 1776 who was the president during this time? Thomas Jefferson who adopted this declaration? Second Continental Congress who does this congress comprise of? Delegates from the Thirteen Colonies where was the president from? Shadwell in the Colony of Virginia did he ever become a lawayer? Yes where did he practice it at? UNANSWERABLE when did he become a member of the congress? UNANSWERABLE why did he go to france? He was sent by the Congress of the Confederation to join Benjamin Franklin and John Adams in Paris as Minister Plenipotentiary for Negotiating Treaties of Amity and Commerce.
wiki:19579764
United States Declaration of Independence [SEP] Slavery and the Declaration
The apparent contradiction between the claim that "all men are created equal" and the existence of American slavery attracted comment when the Declaration was first published. As mentioned above, Jefferson had included a paragraph in his initial draft that strongly indicted Great Britain's role in the slave trade, but this was deleted from the final version. Jefferson himself was a prominent Virginia slave holder, having owned hundreds of slaves. Referring to this seeming contradiction, English abolitionist Thomas Day wrote in a 1776 letter, "If there be an object truly ridiculous in nature, it is an American patriot, signing resolutions of independency with the one hand, and with the other brandishing a whip over his affrighted slaves." In the 19th century, the Declaration took on a special significance for the abolitionist movement.