Tensions between Fatah and Hamas began to rise in 2005 after the death of Yasser Arafat in November 2004. After the legislative election on 25 January 2006, which resulted in a Hamas victory, relations were marked by sporadic factional fighting. This became more intense after the two parties repeatedly failed to reach a deal to share government power, escalating in June 2007 and resulting in Hamas' takeover of Gaza. A major issue was control over the border crossings, especially the Rafah Border Crossing.