Two police shootings this week that claimed the lives of black men sparked a protest in Dallas on Thursday night that turned bloody when a sniper killed five police officers and injured seven others.

The shooting on Tuesday occurred during a struggle outside a Baton Rouge convenience store where an officer shot 37-year-old Alton Sterling multiple times and killed him. Wednesday's slaying took place at a traffic stop in Minnesota where a police officer opened fire on a man named Philando Castile. Castile's fiancee recorded the ensuing moments when Castile lay dying and broadcasted it on Facebook.

The shootings and the aftermath of the protest has spurred strong reactions from NBA players. Most recently LeBron James has taken to Twitter, writing the following:

More from FoxSports

This article says it all man! Sickens me and I shed multiple tears about it all. https://t.co/Tsj9646QoT #ItNeedsToStop #BlackLivesMatter

— LeBron James (@KingJames) July 8, 2016

#PhilandoCastile

— LeBron James (@KingJames) July 8, 2016

#AltonSterling

— LeBron James (@KingJames) July 8, 2016

We are all hurting tonight. More violence is not the answer. #StoptheViolence

— LeBron James (@KingJames) July 8, 2016

Also on Friday afternoon Carmelo Anthony posted a lengthy message about the violence in which he called for "[a]ll my fellow ATHLETES to step up and take charge."

First off let me start off by saying " All Praise Due To The Most High." Secondly, I'm all about rallying, protesting, fighting for OUR people. Look I'll even lead the charge, By Any Means Necessary. We have to be smart about what we are doing though. We need to steer our anger in the right direction. The system is Broken. Point blank period. It has been this way forever. Martin Luther King marched. Malcolm X rebelled. Muhammad Ali literally fought for US. Our anger should be towards the system. If the system doesn't change we will continue to turn on the TVs and see the same thing. We have to put the pressure on the people in charge in order to get this thing we call JUSTICE right. A march doesn't work. We tried that. I've tried that. A couple social media post/tweet doesn't work. We've all tried that. That didn't work. Shooting 11 cops and killing 5 WILL NOT work. While I don't have a solution, and I'm pretty sure a lot of people don't have a solution, we need to come together more than anything at this time. We need each other. These politicians have to step up and fight for change. I'm calling for all my fellow ATHLETES to step up and take charge. Go to your local officials, leaders, congressman, assemblymen/assemblywoman and demand change. There's NO more sitting back and being afraid of tackling and addressing political issues anymore. Those days are long gone. We have to step up and take charge. We can't worry about what endorsements we gonna lose or whose going to look at us crazy. I need your voices to be heard. We can demand change. We just have to be willing to. THE TIME IS NOW. IM all in. Take Charge. Take Action. DEMAND CHANGE. Peace7 #StayMe7o

A photo posted by @carmeloanthony on