In which sentence is the underlined word or words a predicate adjective?

Samuel Morse was an artist and inventor.

Samuel Morse’s telegraph line between Washington, D.C., and Baltimore was successful.

A telegraph is an instrument that sends a message with electrical impulses.