You need to kill him. See any weapons around ?
Hide from the guard as you work by standing behind the wall.
Kill him with the catapult. You need to set it up properly.