Deep Creek Lake , in the Allegheny Mountains , was created in the 1920 's as part of a hydroelectric project and remained under ownership of a utility until the State of Maryland bought it for $ 17 million in 2000 .