Hamdan was defeated in 895 .
Hamdan was imprisoned with his relatives , but his son Husayn ibn Hamdan managed to secure the family 's future .
Hamdan was defeated in 895 and imprisoned with his relatives , but his son Husayn ibn Hamdan managed to secure the family 's future .