A population model is constructed which combines the ideas of a discrete time branching process with random environments and a continuous time non-homogeneous Markov branching process. The extinction problem is considered and necessary and sufficient conditions for extinction are determined. Also discussed are limit theorems for what corresponds to the supercritical case.