<Tr> <Th> Budget </Th> <Td> $175 million </Td> </Tr> <Tr> <Th> Box office </Th> <Td> $146.2 million </Td> </Tr> <P> King Arthur: Legend of the Sword is a 2017 epic fantasy film directed by Guy Ritchie and written by Ritchie, Joby Harold and Lionel Wigram, inspired by Arthurian legends . The film stars Charlie Hunnam as the eponymous character, with Jude Law, Àstrid Bergès - Frisbey, Djimon Hounsou, Aidan Gillen and Eric Bana in supporting roles . </P> <P> King Arthur premiered at the TCL Chinese Theater on 8 May 2017 and was theatrically released in 2D and RealD 3D on 12 May 2017 in the United States and 19 May 2017 in the United Kingdom . The film grossed $146 million worldwide against its $175 million production budget, with critics "warning audiences to stay away". </P>

Who wrote king arthur legend of the sword