I believe the answer is: the colonial victory at the Battle of Saratoga.
At that time, the french empire was on the fence in whether they need to provide help for the colonist or not. After the victory at the battle of saratoga, The french government saw a potential in the revolutionary army and decided to formed a formal alliance to aid them.