Daniel 1:21

"And Daniel remained there until the first year of King Cyrus." NIV translation

We see that Daniel stayed in service to the king and, as we shall see, that is exactly where God wanted him to be.