A retired New York City police detective who died after saving a boy from drowning in Puerto Rico has been given a funeral befitting a hero.

The Times Herald-Record of Middletown reports that about 500 people packed St. Mary's Church in Washingtonville, Orange County, for Jose Rosario's funeral Thursday. Six NYPD officers served as pallbearers and a NYPD flag was draped over Rosario's coffin.

Rosario was vacationing in Puerto Rico with his family late last month when he saw a 12-year-old boy struggling in rough surf off a beach on the island's northwest coast. The 44-year-old Rosario got the boy onto a rock but then was swept out to sea by a wave. His body was recovered two days later.

Rosario joined the NYPD in 1990 and retired as a detective in 2011.

Get the latest news and more great videos at NewsdayTV Credit: Newsday

Wild weather on LI ... Deported LI bagel store manager speaks out ... Top holiday movies to see ... Visiting one of LI's best pizzerias ... Get the latest news and more great videos at NewsdayTV

Get the latest news and more great videos at NewsdayTV Credit: Newsday

Wild weather on LI ... Deported LI bagel store manager speaks out ... Top holiday movies to see ... Visiting one of LI's best pizzerias ... Get the latest news and more great videos at NewsdayTV

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME