A man in his 50s was forced to call for help after getting stuck during an attempted break-in on Vancouver's west side, police say.

The man was trying to break into a home near Matthews Avenue and Cypress Street through the skylight at around 1 a.m. on Sunday.

But the 51-year-old started to slide down the roof and got stuck, police said. About 25 feet above the ground, the would-be thief had to call 911 for help.

Police and fire-and-rescue crews arrived, and were able to get the alleged burglar off the roof.

The man, who police say has a history of break-ins, was taken into custody and will face break-and-enter charges.

"Even a skylight can be an attractive invitation to an agile cat burglar," Vancouver Police Staff Sgt. Randy Fincham said in a news release.

"This cat wisely chose to save one of his nine lives and called 9-1-1 for help."