A makeshift floating dam was placed around the boat Sunday to contain the spill, said Boston Fire Department spokesman Steve MacDonald.

MacDonald said about three-quarters of the boat was underwater Sunday night, sinking next to a pier near the 400-block of Border Street. A passerby first alerted officials of the sinking boat, he said.

Get Fast Forward in your inbox:

Forget yesterday's news. Get what you need today in this early-morning email.

BostonGlobe.com complimentary digital access has been provided to you, without a subscription, for free starting today and ending in 14 days. After the free trial period, your free BostonGlobe.com digital access will stop immediately unless you sign up for BostonGlobe.com digital subscription. Current print and digital subscribers are not eligible for the free trial.

Thanks & Welcome to Globe.com

You now have unlimited access for the next two weeks.

BostonGlobe.com complimentary digital access has been provided to you, without a subscription, for free starting today and ending in 14 days. After the free trial period, your free BostonGlobe.com digital access will stop immediately unless you sign up for BostonGlobe.com digital subscription. Current print and digital subscribers are not eligible for the free trial.