During the 2002 film adaptation of the Two Towers by Peter Jackson, Frodo, Sam and Gollum are captured by Faramir of Gondor, and his band of Rangers, whilst they are distracted by the sound of the Oliphaunt, also known as Mumakils.
Faramir orders his men to take the hobbits captive, and they are gagged and blindfolded on the way to his secret lair, where he later learns of their possession of the One Ring of power, and their quest to destroy it in the fires of Mount Doom where it was created.
. Read more on gamerant.com