Il pirata is an opera in two acts by Vincenzo Bellini with an Italian libretto by Felice Romani, which was based on a three-act mélodrame from 1826: Bertram, ou le Pirate by Charles Nodier and Isidore Justin Séverin Taylor. This play was itself based upon a French translation of the five-act verse tragedy Bertram, or The Castle of St. Aldobrand by Charles Maturin which appeared in London in 1816.