Pirates of the Caribbean: On Stranger Tides is a 2011 American fantasy swashbuckler film and the fourth installment in the Pirates of the Caribbean film series, following At World's End (2007). The film was directed by Rob Marshall, and written by Ted Elliott and Terry Rossio, loosely based on the 1987 novel On Stranger Tides by Tim Powers....